summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/bootm.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-05-28 14:56:00 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-31 08:32:32 +0200
commit08026afdeb1276163b8e99cb85c1e56779ff5c2f (patch)
tree544138da233af23c7263a196c6abbad295034dd5 /arch/arm/lib/bootm.c
parenta872dc166ad6cd4c7f7e809ba4cb315b1614ff04 (diff)
downloadbarebox-08026afdeb1276163b8e99cb85c1e56779ff5c2f.tar.gz
barebox-08026afdeb1276163b8e99cb85c1e56779ff5c2f.tar.xz
bootm: make sure to print fixed oftree
when doing bootm -v -v we dumped the original tree to the console. Make sure to print the fixed tree instead so that the fixups can be examined. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib/bootm.c')
-rw-r--r--arch/arm/lib/bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index e7a0625d3b..133e04da07 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -91,6 +91,8 @@ static int __do_bootm_linux(struct image_data *data, int swap)
of_add_reserve_entry(initrd_start, initrd_end);
data->oftree = of_get_fixed_tree(data->of_root_node);
fdt_add_reserve_map(data->oftree);
+ if (bootm_verbose(data) > 1)
+ of_print_nodes(data->of_root_node, 0);
}
if (bootm_verbose(data)) {