[PATCH 4/4] common: oftree: replace printf by pr_info
Marco Felsch
m.felsch at pengutronix.de
Fri May 21 09:34:35 PDT 2021
This allows us to control the output behaviour e.g. booting silently
to improve boot time.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
common/oftree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
2.29.2
More information about the barebox
mailing list