summaryrefslogtreecommitdiff
path: root/include/configs/rk3128_common.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-09 17:00:27 +0300
committerKever Yang <kever.yang@rock-chips.com>2019-07-20 18:59:44 +0300
commit1e72a757bb32e3ccc4fe5d23baaa6d19b3760a1e (patch)
tree245d170f1ec219972d1fc6e783cb12cde5d5c66f /include/configs/rk3128_common.h
parentae5a3659f38acd7537c0ae86c7217b9cf40595fb (diff)
downloadu-boot-1e72a757bb32e3ccc4fe5d23baaa6d19b3760a1e.tar.xz
rockchip: rk3128: 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 to boot time. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/configs/rk3128_common.h')
-rw-r--r--include/configs/rk3128_common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/rk3128_common.h b/include/configs/rk3128_common.h
index 0c08d7af5b..20d62439fb 100644
--- a/include/configs/rk3128_common.h
+++ b/include/configs/rk3128_common.h
@@ -14,9 +14,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