summaryrefslogtreecommitdiffstats
path: root/common/bootm.c
diff options
context:
space:
mode:
authorHolger Schurig <holgerschurig@gmail.com>2014-05-30 11:07:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-02 09:07:12 +0200
commit93ba05b5fded2817d6e19a82be5871cf6d2238c2 (patch)
tree155392dde1df1456fbe7739f6b2df8c64678fab4 /common/bootm.c
parentbfd5d7f11298ddff7f8c0ce47840d847fa19064a (diff)
downloadbarebox-93ba05b5fded2817d6e19a82be5871cf6d2238c2.tar.gz
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 <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootm.c')
-rw-r--r--common/bootm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bootm.c b/common/bootm.c
index d6e02a7..871959c 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");
}
}