diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2021-05-21 18:34:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-05-25 07:51:29 +0200 |
commit | 8e2ee4b2cd5bc372a00c11805b4fbfe7274a8fb4 (patch) | |
tree | 5ddefd42691b764dfcc4d2024e79b4e9110e405c /common | |
parent | af66a526b47f6d0d44613c93df058960ba6d14cc (diff) | |
download | barebox-8e2ee4b2cd5bc372a00c11805b4fbfe7274a8fb4.tar.gz barebox-8e2ee4b2cd5bc372a00c11805b4fbfe7274a8fb4.tar.xz |
common: oftree: replace printf by pr_info
This allows us to control the output behaviour e.g. booting silently
to improve boot time.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.barebox.org/20210521163435.17365-5-m.felsch@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/oftree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/oftree.c b/common/oftree.c index 60d4327155..d92a3ca904 100644 --- a/common/oftree.c +++ b/common/oftree.c @@ -115,7 +115,7 @@ void of_print_cmdline(struct device_node *root) cmdline = of_get_property(node, "bootargs", NULL); - printf("commandline: %s\n", cmdline); + pr_info("commandline: %s\n", cmdline); } static int of_fixup_bootargs_bootsource(struct device_node *root, |