summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/tpl.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-02-20 22:14:29 -0500
committerTom Rini <trini@konsulko.com>2020-02-20 22:14:29 -0500
commit8e51bf746a11d7f67416859da73a83109af4e0a3 (patch)
tree95351fb3819745d39c60944412e66529b31170bd /arch/arm/mach-rockchip/tpl.c
parent4246fae418f213d13ddd1829367183e94b5a7942 (diff)
parentf9561d8e3671415c7780df4b5e70f0f1e2d2bf57 (diff)
Merge tag 'u-boot-rockchip-20200220' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
- rk3399: split roc-pc-rk3399 out of evb_rk3399 - sync dts from upstream kernel for rk3399,rk3288,px30 - boot_mode: find the saradc device name
Diffstat (limited to 'arch/arm/mach-rockchip/tpl.c')
-rw-r--r--arch/arm/mach-rockchip/tpl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/tpl.c b/arch/arm/mach-rockchip/tpl.c
index 31a3eb4c28..a2b8d31cbd 100644
--- a/arch/arm/mach-rockchip/tpl.c
+++ b/arch/arm/mach-rockchip/tpl.c
@@ -40,11 +40,18 @@ __weak void rockchip_stimer_init(void)
TIMER_CONTROL_REG);
}
+__weak int board_early_init_f(void)
+{
+ return 0;
+}
+
void board_init_f(ulong dummy)
{
struct udevice *dev;
int ret;
+ board_early_init_f();
+
#if defined(CONFIG_DEBUG_UART) && defined(CONFIG_TPL_SERIAL_SUPPORT)
/*
* Debug UART can be used from here if required: