]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: spl: Drop useless call to debug_uart_init
authorMassimo Pegorer <massimo.pegorer@gmail.com>
Wed, 2 Aug 2023 17:05:23 +0000 (19:05 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 12 Aug 2023 02:37:32 +0000 (10:37 +0800)
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>
arch/arm/mach-rockchip/spl.c

index 30be64042521df5a78024bf285260a943569c627..a6396b3c423df25e6766bac35741fa579956714c 100644 (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