summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/bootm.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-05-28 14:57:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-31 08:32:37 +0200
commitb5167ee51ca21195aff4707f1a503708febe51c3 (patch)
tree057346bfd44adfd7e401bbdfafb6a83190e8b60d /arch/arm/lib/bootm.c
parent08026afdeb1276163b8e99cb85c1e56779ff5c2f (diff)
downloadbarebox-b5167ee51ca21195aff4707f1a503708febe51c3.tar.gz
barebox-b5167ee51ca21195aff4707f1a503708febe51c3.tar.xz
bootm: print Kernel commandline in verbose mode
Without devicetree support we print the Kernel commandline in verbose mode. Do the same with devicetree boot aswell. 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 133e04da07..ee27e34d49 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))
+ of_print_cmdline(data->of_root_node);
if (bootm_verbose(data) > 1)
of_print_nodes(data->of_root_node, 0);
}