summaryrefslogtreecommitdiff
path: root/include/configs/rk322x_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-21 15:40:21 -0400
committerTom Rini <trini@konsulko.com>2019-07-21 15:40:21 -0400
commit79ea03b38a8e9a4488473b5ee57f3fab8d360f17 (patch)
treed9dd81471cdc0b36b3e1b8596b9e7bd333a56843 /include/configs/rk322x_common.h
parenta7e617af88d8eafde2ad2ead610ffe6d68322711 (diff)
parent8b1ceb0ac1aa1746c6751d698ce7a012a236fa65 (diff)
Merge tag 'rockchip-for-v2019.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
- rk3399 lpddr4 support - rk3399-rock960 board support improvement - Eliminate pyelftools dependency by make_fit_atf.py - clean up rockchip dts to use -u-boot.dtsi - use ARM arch/generic timer instead of rk_timer - clean up Kconfig options for board support
Diffstat (limited to 'include/configs/rk322x_common.h')
-rw-r--r--include/configs/rk322x_common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/rk322x_common.h b/include/configs/rk322x_common.h
index 15bb8d63b8..cc08699944 100644
--- a/include/configs/rk322x_common.h
+++ b/include/configs/rk322x_common.h
@@ -13,9 +13,10 @@
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */
-#define CONFIG_SYS_TIMER_RATE (24 * 1000 * 1000)
-#define CONFIG_SYS_TIMER_BASE 0x110c00a0 /* TIMER5 */
-#define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMER_BASE + 8)
+#define CONFIG_ROCKCHIP_STIMER_BASE 0x110d0020
+#define COUNTER_FREQUENCY 24000000
+#define CONFIG_SYS_ARCH_TIMER
+#define CONFIG_SYS_HZ_CLOCK 24000000
#define CONFIG_SYS_INIT_SP_ADDR 0x61100000
#define CONFIG_SYS_LOAD_ADDR 0x61800800