From 192445b39c0e852f7f2c054c935bbe02f7a8ea22 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Tue, 9 Jul 2019 22:00:31 +0800 Subject: rockchip: rk3368: enable stimer for rk3368 Add stimer_init() for spl/tpl so that we able to switch to use arch timer. Signed-off-by: Kever Yang --- include/configs/rk3368_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h index 13630ba386c..8a1e3118aeb 100644 --- a/include/configs/rk3368_common.h +++ b/include/configs/rk3368_common.h @@ -20,7 +20,8 @@ #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SKIP_LOWLEVEL_INIT -#define COUNTER_FREQUENCY 24000000 +#define CONFIG_ROCKCHIP_STIMER_BASE 0xff830020 +#define COUNTER_FREQUENCY 24000000 #define CONFIG_SYS_NS16550_MEM32 -- cgit v1.3.1