summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-22 19:59:37 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-29 10:25:27 +0800
commit08f7905bc6c431ec6563047f2fdc619f341e9e24 (patch)
tree066cffd4e0573d15d77c0f2be420c0e2c68791cf
parent4238e526fa8e0721c6c8ef0144b2b9ae57663c82 (diff)
rockchip: rk3399: show SPL BANNER earlier in board_init_f()
Show the SPL BANNER earlier so that we know already get into SPL. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--arch/arm/mach-rockchip/rk3399-board-spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/rk3399-board-spl.c b/arch/arm/mach-rockchip/rk3399-board-spl.c
index 826ca443ce..b790ad909c 100644
--- a/arch/arm/mach-rockchip/rk3399-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3399-board-spl.c
@@ -130,6 +130,8 @@ void board_init_f(ulong dummy)
pr_err("DRAM init failed: %d\n", ret);
return;
}
+
+ preloader_console_init();
}
#if defined(SPL_GPIO_SUPPORT)
@@ -188,8 +190,6 @@ void spl_board_init(void)
if (regulators_enable_boot_on(false))
debug("%s: Cannot enable boot on regulator\n", __func__);
#endif
-
- preloader_console_init();
}
#ifdef CONFIG_SPL_LOAD_FIT