[PATCH 0/2] Drop useless call to debug_uart_init

Massimo Pegorer massimo.pegorer at gmail.com
Wed Aug 2 19:05:22 CEST 2023


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 as was done in arch/arm/mach-rockchip/spl.c.

Remove also debug message related to debug uart initializazion
in board_init_f. If an earliest-as-possible message after debug
uart initialization is needed, enable DEBUG_UART_ANNOUNCE Kconfig
option, instead.

Massimo Pegorer (2):
  rockchip: spl: Drop useless call to debug_uart_init
  rockchip: spl: Drop out of scope debug message related to uart init

 arch/arm/mach-rockchip/spl.c | 13 -------------
 1 file changed, 13 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list