diff options
| author | Kever Yang <[email protected]> | 2019-07-09 22:00:25 +0800 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2019-07-20 23:59:44 +0800 |
| commit | 002d897fb143826e48c59342428748c556dcbda0 (patch) | |
| tree | c6fe0a3e002b6abd00e0e4b70d08f46ecdf5f168 /include | |
| parent | 19d0de3ee4d0f4fc13f09303fbbe91bf8d8d81d8 (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/rk3036_common.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h index f5d09d18e5e..73be079b20f 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 |
