From 93ba05b5fded2817d6e19a82be5871cf6d2238c2 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Fri, 30 May 2014 11:07:34 +0200 Subject: bootm: beautify output * fix indentation of options in 'help bootm' * add missing help for -m * put some output into debug/verbose mode Signed-off-by: Holger Schurig Signed-off-by: Sascha Hauer --- common/bootm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/bootm.c b/common/bootm.c index d6e02a7c6a..871959c547 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -428,7 +428,7 @@ int bootm_boot(struct bootm_data *bootm_data) } } - printf("\nLoading OS %s '%s'", file_type_to_string(os_type), + printf("\nLoading %s '%s'", file_type_to_string(os_type), data->os_file); if (os_type == filetype_uimage && data->os->header.ih_type == IH_TYPE_MULTI) @@ -442,7 +442,7 @@ int bootm_boot(struct bootm_data *bootm_data) goto err_out; } else { data->of_root_node = of_get_root_node(); - if (data->of_root_node) + if (bootm_verbose(data) > 1 && data->of_root_node) printf("using internal devicetree\n"); } } -- cgit v1.2.3