aboutsummaryrefslogtreecommitdiff
path: root/include/configs/rk3328_common.h
diff options
context:
space:
mode:
authorKever Yang2019-12-31 15:17:56 +0800
committerKever Yang2019-12-31 15:18:51 +0800
commit09e70654a19d2291ae0ed58ab8a9717f166af6f8 (patch)
treeb9e92ef45d30ed0d1bd57f0317b28ec0b37b9789 /include/configs/rk3328_common.h
parentf43b0d49c0fb70657abd359f55a72f156a1c0058 (diff)
rockchip: rk3328: add COUNTER_FREQUENCY definition
The arch timer needs COUNTER_FREQUENCY to get correct counter, add it to make the timer works correct. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/configs/rk3328_common.h')
-rw-r--r--include/configs/rk3328_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h
index b14da3a6265..407e5d29311 100644
--- a/include/configs/rk3328_common.h
+++ b/include/configs/rk3328_common.h
@@ -11,6 +11,7 @@
#define CONFIG_IRAM_BASE 0xff090000
#define CONFIG_ROCKCHIP_STIMER_BASE 0xff1d0020
+#define COUNTER_FREQUENCY 24000000
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_SKIP_LOWLEVEL_INIT