]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3399: remove TPL_BOARD_INIT
authorKever Yang <kever.yang@rock-chips.com>
Tue, 9 Jul 2019 14:06:00 +0000 (22:06 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
RK3399 TPL do not need a dedicate board init, print the firmware
info when debug init instead.

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

index 3c17994452b107b7cf90f5ee325798c4cd9cf8bb..28bae2e7ee3cf5db5a320213e99ee905c20a639e 100644 (file)
@@ -173,7 +173,6 @@ config ROCKCHIP_RK3399
        imply TPL_LIBCOMMON_SUPPORT
        imply TPL_LIBGENERIC_SUPPORT
        imply TPL_SYS_MALLOC_SIMPLE
-       imply TPL_BOARD_INIT
        imply TPL_BOOTROM_SUPPORT
        imply TPL_DRIVERS_MISC_SUPPORT
        imply TPL_OF_CONTROL
index 740470de46019c9066aa84114d3ecb47d1b652f2..117b74cf4b3f32c205797a4ec9c0dc9a2d613206 100644 (file)
@@ -31,7 +31,8 @@ void board_init_f(ulong dummy)
         * printhex8(0x1234);
         * printascii("string");
         */
-       debug("U-Boot TPL board init\n");
+       printascii("\nU-Boot TPL "  PLAIN_VERSION " (" U_BOOT_DATE " - "
+            U_BOOT_TIME " " U_BOOT_TZ ")\n");
 #endif
        ret = spl_early_init();
        if (ret) {
@@ -58,12 +59,6 @@ u32 spl_boot_device(void)
        return BOOT_DEVICE_BOOTROM;
 }
 
-void spl_board_init(void)
-{
-       puts("\nU-Boot TPL "  PLAIN_VERSION " (" U_BOOT_DATE " - "
-            U_BOOT_TIME " " U_BOOT_TZ ")\n");
-}
-
 #ifdef CONFIG_SPL_LOAD_FIT
 int board_fit_config_name_match(const char *name)
 {