summaryrefslogtreecommitdiff
path: root/include/configs/rk3036_common.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-09 17:00:25 +0300
committerKever Yang <kever.yang@rock-chips.com>2019-07-20 18:59:44 +0300
commit002d897fb143826e48c59342428748c556dcbda0 (patch)
treec6fe0a3e002b6abd00e0e4b70d08f46ecdf5f168 /include/configs/rk3036_common.h
parent19d0de3ee4d0f4fc13f09303fbbe91bf8d8d81d8 (diff)
downloadu-boot-002d897fb143826e48c59342428748c556dcbda0.tar.xz
rockchip: rk3036: use ARM arch timer instead of rk_timer
We prefer to use ARM arch timer instead of rockchip timer, so that we are using the same timer for SPL, U-Boot and Kernel, which will make things simple and easy to track the boot time. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/configs/rk3036_common.h')
-rw-r--r--include/configs/rk3036_common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h
index f5d09d18e5..73be079b20 100644
--- a/include/configs/rk3036_common.h
+++ b/include/configs/rk3036_common.h
@@ -12,9 +12,10 @@
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_SKIP_LOWLEVEL_INIT
-#define CONFIG_SYS_TIMER_RATE (24 * 1000 * 1000)
-#define CONFIG_SYS_TIMER_BASE 0x200440a0 /* TIMER5 */
-#define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMER_BASE + 8)
+#define CONFIG_ROCKCHIP_STIMER_BASE 0x200440a0
+#define COUNTER_FREQUENCY 24000000
+#define CONFIG_SYS_ARCH_TIMER
+#define CONFIG_SYS_HZ_CLOCK 24000000
#define CONFIG_SYS_INIT_SP_ADDR 0x60100000
#define CONFIG_SYS_LOAD_ADDR 0x60800800