1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-06 18:54:57 +02:00

rockchip: spl: Drop useless call to debug_uart_init

Since commit 0dba45864b ("arm: Init the debug UART") function
debug_uart_init is called in crt files _main before calling
board_init_f. Therefore, there is no need to call it again
inside board_init_f implementation in arm/mach-rockchip/spl.c.

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>
This commit is contained in:
Massimo Pegorer
2023-08-02 19:05:23 +02:00
committed by Kever Yang
parent 520fece4ca
commit 08e74ac3d9

View File

@@ -116,12 +116,10 @@ void board_init_f(ulong dummy)
/*
* Debug UART can be used from here if required:
*
* debug_uart_init();
* printch('a');
* printhex8(0x1234);
* printascii("string");
*/
debug_uart_init();
debug("\nspl:debug uart enabled in %s\n", __func__);
#endif