From 36adce73724d53f0a22520af86690381b69518aa Mon Sep 17 00:00:00 2001 From: Massimo Pegorer Date: Wed, 2 Aug 2023 19:05:24 +0200 Subject: [PATCH] rockchip: spl: Drop out of scope debug message related to uart init 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 Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- 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 a6396b3..87280e2 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.7.4