mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-21 14:41:26 +02:00
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>
This commit is contained in:
parent
520fece4ca
commit
08e74ac3d9
@ -116,12 +116,10 @@ void board_init_f(ulong dummy)
|
|||||||
/*
|
/*
|
||||||
* Debug UART can be used from here if required:
|
* Debug UART can be used from here if required:
|
||||||
*
|
*
|
||||||
* debug_uart_init();
|
|
||||||
* printch('a');
|
* printch('a');
|
||||||
* printhex8(0x1234);
|
* printhex8(0x1234);
|
||||||
* printascii("string");
|
* printascii("string");
|
||||||
*/
|
*/
|
||||||
debug_uart_init();
|
|
||||||
debug("\nspl:debug uart enabled in %s\n", __func__);
|
debug("\nspl:debug uart enabled in %s\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user