summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-09 22:00:31 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-20 23:59:44 +0800
commit192445b39c0e852f7f2c054c935bbe02f7a8ea22 (patch)
tree26b170a39cec40e0bcf4f0e353c95e1fa80b4a13 /include
parent1f6b599b6d2479ad51981bc753abcaed25907f8b (diff)
downloadu-boot-192445b39c0e852f7f2c054c935bbe02f7a8ea22.tar.gz
u-boot-192445b39c0e852f7f2c054c935bbe02f7a8ea22.tar.xz
u-boot-192445b39c0e852f7f2c054c935bbe02f7a8ea22.zip
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 <kever.yang@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3368_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h
index 13630ba386..8a1e3118ae 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