oftree command: Allow free stored dtb before load
PATCH 1/1 oftree command: Allow free stored dtb before load
Don't return after freeing stored devicetree if also loading ist wanted. Allow "oftree -f -l my.dtb"
Signed-off-by Jan Weitzel <[email protected]>
--- commands/oftree.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
commands/oftree.c +2 -1
@@ -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)
Signature · 7 lines
1.7.0.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 4 lines · Jan Weitzel
Don't return after freeing stored devicetree if also loading ist wanted. Allow "oftree -f -l my.dtb"
Signed-off-by Jan Weitzel <[email protected]>
Applied, thanks
Sascha
Quoted 27 lines
--- commands/oftree.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)commands/oftree.c +2
-1@@ -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)Signature · 7 lines
1.7.0.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox