From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jan Weitzel <j.weitzel@phytec.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] oftree command: Allow free stored dtb before load
Date: Mon, 6 Jan 2014 10:25:42 +0100 [thread overview]
Message-ID: <20140106092541.GF24559@pengutronix.de> (raw)
In-Reply-To: <1387442368-27731-1-git-send-email-j.weitzel@phytec.de>
On Thu, Dec 19, 2013 at 09:39:28AM +0100, Jan Weitzel wrote:
> Don't return after freeing stored devicetree if also loading ist wanted.
> Allow "oftree -f -l my.dtb"
>
> Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Applied, thanks
Sascha
> ---
> commands/oftree.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/commands/oftree.c b/commands/oftree.c
> index 475f019..3fa516c 100644
> --- a/commands/oftree.c
> +++ b/commands/oftree.c
> @@ -88,7 +88,8 @@ static int do_oftree(int argc, char *argv[])
> if (root)
> of_delete_node(root);
>
> - return 0;
> + if (!load)
> + return 0;
> }
>
> if (optind < argc)
> --
> 1.7.0.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2014-01-06 9:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-19 8:39 Jan Weitzel
2014-01-06 9:25 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140106092541.GF24559@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=j.weitzel@phytec.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox