[PATCH 2/2] rockchip: spl: Drop out of scope debug message related to uart init
Massimo Pegorer
massimo.pegorer at gmail.com
Wed Aug 2 19:05:24 CEST 2023
Debug uart is no more inited in board_init_f function: remove this
debug message from board_init_f. If an earliest-as-possible message
after debug uart initialization is needed, enable DEBUG_UART_ANNOUNCE
Kconfig option, instead.
Signed-off-by: Massimo Pegorer <massimo.pegorer+oss at gmail.com>
---
arch/arm/mach-rockchip/spl.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c
index a6396b3c42..87280e2ba7 100644
--- a/arch/arm/mach-rockchip/spl.c
+++ b/arch/arm/mach-rockchip/spl.c
@@ -112,17 +112,6 @@ void board_init_f(ulong dummy)
{
int ret;
-#ifdef CONFIG_DEBUG_UART
- /*
- * Debug UART can be used from here if required:
- *
- * printch('a');
- * printhex8(0x1234);
- * printascii("string");
- */
- debug("\nspl:debug uart enabled in %s\n", __func__);
-#endif
-
board_early_init_f();
ret = spl_early_init();
--
2.34.1
More information about the U-Boot
mailing list