diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-06-21 00:25:04 +0530 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-06-26 21:11:28 +0800 |
commit | c997c0fc28b553d3d7e750a79fb5f87db44aab1e (patch) | |
tree | ca818000121a5b00a4f0f55a5c3b6bb0047dd27f /arch | |
parent | adde32d0337e1b93d8ee5751043c5cb5ba43033a (diff) | |
download | u-boot-c997c0fc28b553d3d7e750a79fb5f87db44aab1e.zip u-boot-c997c0fc28b553d3d7e750a79fb5f87db44aab1e.tar.gz u-boot-c997c0fc28b553d3d7e750a79fb5f87db44aab1e.tar.bz2 |
rockchip: rk3399: tpl: Add spl_board_init
Add spl_board_init for TPL, that have TPL banner will help
to print tpl boot prints.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-rockchip/rk3399-board-tpl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3399-board-tpl.c b/arch/arm/mach-rockchip/rk3399-board-tpl.c index 86d3ffe..72d0dd9 100644 --- a/arch/arm/mach-rockchip/rk3399-board-tpl.c +++ b/arch/arm/mach-rockchip/rk3399-board-tpl.c @@ -8,6 +8,7 @@ #include <dm.h> #include <ram.h> #include <spl.h> +#include <version.h> #include <asm/io.h> #include <asm/arch-rockchip/bootrom.h> @@ -73,6 +74,12 @@ 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) { |