diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-09 22:00:31 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-20 23:59:44 +0800 |
commit | 192445b39c0e852f7f2c054c935bbe02f7a8ea22 (patch) | |
tree | 26b170a39cec40e0bcf4f0e353c95e1fa80b4a13 /include/configs/rk3368_common.h | |
parent | 1f6b599b6d2479ad51981bc753abcaed25907f8b (diff) |
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/configs/rk3368_common.h')
-rw-r--r-- | include/configs/rk3368_common.h | 3 |
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 |