diff options
Diffstat (limited to 'src/soc/rockchip')
-rw-r--r-- | src/soc/rockchip/rk3288/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/rockchip/rk3288/include/soc/timer.h | 2 | ||||
-rw-r--r-- | src/soc/rockchip/rk3288/timer.c | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/rockchip/rk3288/bootblock.c b/src/soc/rockchip/rk3288/bootblock.c index 4a5b0d269f..9ea3ec02a4 100644 --- a/src/soc/rockchip/rk3288/bootblock.c +++ b/src/soc/rockchip/rk3288/bootblock.c @@ -29,8 +29,6 @@ static void bootblock_soc_init(void) { - rk3288_init_timer(); - rkclk_init(); mmu_init(); diff --git a/src/soc/rockchip/rk3288/include/soc/timer.h b/src/soc/rockchip/rk3288/include/soc/timer.h index 230168637c..248b150ab5 100644 --- a/src/soc/rockchip/rk3288/include/soc/timer.h +++ b/src/soc/rockchip/rk3288/include/soc/timer.h @@ -40,6 +40,4 @@ static struct rk3288_timer * const timer7_ptr = (void *)TIMER7_BASE; #define TIMER_LOAD_VAL 0xffffffff -void rk3288_init_timer(void); - #endif /* __SOC_ROCKCHIP_RK3288_TIMER_H__ */ diff --git a/src/soc/rockchip/rk3288/timer.c b/src/soc/rockchip/rk3288/timer.c index 47f99c23fd..253d145b44 100644 --- a/src/soc/rockchip/rk3288/timer.c +++ b/src/soc/rockchip/rk3288/timer.c @@ -39,7 +39,7 @@ void timer_monotonic_get(struct mono_time *mt) mono_time_set_usecs(mt, timer_raw_value() / clocks_per_usec); } -void rk3288_init_timer(void) +void init_timer(void) { write32(TIMER_LOAD_VAL, &timer7_ptr->timer_load_count0); write32(TIMER_LOAD_VAL, &timer7_ptr->timer_load_count1); |