rockchip: spl: Drop out of scope debug message related to uart init
authorMassimo Pegorer <massimo.pegorer@gmail.com>
Wed, 2 Aug 2023 17:05:24 +0000 (19:05 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 12 Aug 2023 02:37:32 +0000 (10:37 +0800)
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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/spl.c

index a6396b3..87280e2 100644 (file)
@@ -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();