aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimo Pegorer2023-08-02 19:05:23 +0200
committerKever Yang2023-08-12 10:37:32 +0800
commit08e74ac3d9c20d29e38c1ec6e50688f978975097 (patch)
tree158fe05d4477e8bd2070d9b6c40eed60505137c7
parent520fece4cacb294b78ca7e3a25667a6449c7287c (diff)
rockchip: spl: Drop useless call to debug_uart_init
Since commit 0dba45864b2a ("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>
-rw-r--r--arch/arm/mach-rockchip/spl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/spl.c b/arch/arm/mach-rockchip/spl.c
index 30be6404252..a6396b3c423 100644
--- a/arch/arm/mach-rockchip/spl.c
+++ b/arch/arm/mach-rockchip/spl.c
@@ -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