diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-09 17:06:00 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-20 18:59:44 +0300 |
commit | 682a99c634eadc7e62893270c5490fd3b78e8612 (patch) | |
tree | 1996648b4243c951fc572407b36556b6cc01966e /arch/arm | |
parent | 87ac550862edd3540be4030f2bc266f4b5182fa3 (diff) | |
download | u-boot-682a99c634eadc7e62893270c5490fd3b78e8612.tar.xz |
rockchip: rk3399: remove TPL_BOARD_INIT
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-rockchip/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-rockchip/rk3399-board-tpl.c | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 3c17994452..28bae2e7ee 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -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 diff --git a/arch/arm/mach-rockchip/rk3399-board-tpl.c b/arch/arm/mach-rockchip/rk3399-board-tpl.c index 740470de46..117b74cf4b 100644 --- a/arch/arm/mach-rockchip/rk3399-board-tpl.c +++ b/arch/arm/mach-rockchip/rk3399-board-tpl.c @@ -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) { |