]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: tpl: Remove board_early_init_f()
authorKever Yang <kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:26:30 +0000 (20:26 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:55:13 +0000 (20:55 +0800)
There is no need for board_early_init_f() in TPL, anything like this
should goes to SPL.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/tpl.c

index 88f80b05a90268e232beb33a43028c848962a24c..cc908e1b0e818e8faf88c9219afc6b9e56638e20 100644 (file)
@@ -43,18 +43,11 @@ __weak void rockchip_stimer_init(void)
               TIMER_CONTROL_REG);
 }
 
-__weak int board_early_init_f(void)
-{
-       return 0;
-}
-
 void board_init_f(ulong dummy)
 {
        struct udevice *dev;
        int ret;
 
-       board_early_init_f();
-
 #if defined(CONFIG_DEBUG_UART) && defined(CONFIG_TPL_SERIAL_SUPPORT)
        /*
         * Debug UART can be used from here if required: