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:
Kever Yang 2017-09-12 16:07:00 +08:00
parent 1dd6e3818a
commit f3c945a623
1 changed files with 3 additions and 0 deletions

View File

@ -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