rockchip: rk3288: add timer_init() for u-boot
If we do not enable the SPL, we need enable the timer for U-Boot. Change-Id: I6d39f7a68e345ea36fbb624c43db5be630fa817b Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
1dd6e3818a
commit
f3c945a623
|
|
@ -16,6 +16,7 @@
|
|||
#include <asm/arch/pmu_rk3288.h>
|
||||
#include <asm/arch/qos_rk3288.h>
|
||||
#include <asm/arch/boot_mode.h>
|
||||
#include <asm/arch/timer.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dt-bindings/clock/rk3288-cru.h>
|
||||
|
|
@ -162,6 +163,8 @@ int board_init(void)
|
|||
struct udevice *pinctrl;
|
||||
int ret;
|
||||
|
||||
rockchip_timer_init();
|
||||
|
||||
/*
|
||||
* We need to implement sdcard iomux here for the further
|
||||
* initlization, otherwise, it'll hit sdcard command sending
|
||||
|
|
|
|||
Loading…
Reference in New Issue