From 08f7905bc6c431ec6563047f2fdc619f341e9e24 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Mon, 22 Jul 2019 19:59:37 +0800 Subject: [PATCH] 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 --- arch/arm/mach-rockchip/rk3399-board-spl.c | 4 ++-- 1 file 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 -- 2.39.5