
On 2023/8/3 01:05, Massimo Pegorer wrote:
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: Kever Yang kever.yang@rock-chips.com
Thanks, - Kever
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();