rockchip: rk3399: tpl: Add spl_board_init
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 20 Jun 2019 18:55:04 +0000 (00:25 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 26 Jun 2019 13:11:28 +0000 (21:11 +0800)
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>
arch/arm/mach-rockchip/rk3399-board-tpl.c

index 86d3ffe97ca7bc08b852b333e75c729631b92dc9..72d0dd914eec282779a3f8aa014ceef3fa0ecfba 100644 (file)
@@ -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)
 {