Commit a5f72eba authored by Felipe Balbi's avatar Felipe Balbi

arm: omap2: timer: remove __omap_gptimer_init()

__omap_sync32k_timer_init(), now takes the clock
source as a parameter. This means we no longer need
__omap_gptimer_init().

Note that __omap_sync32k_timer_init() will be
renamed in a follow-up patch as it's not longer 32k
source specific.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent f5409092
......@@ -592,16 +592,6 @@ static inline void __init realtime_counter_init(void)
{}
#endif
static void __init __omap_gptimer_init(int clkev_nr, const char *clkev_src,
const char *clkev_prop, int clksrc_nr, const char *clksrc_src,
const char *clksrc_prop)
{
omap_clk_init();
omap_dmtimer_init();
omap2_gp_clockevent_init(clkev_nr, clkev_src, clkev_prop);
omap2_gptimer_clocksource_init(clksrc_nr, clksrc_src, clksrc_prop);
}
static void __init __omap_sync32k_timer_init(int clkev_nr, const char *clkev_src,
const char *clkev_prop, int clksrc_nr, const char *clksrc_src,
const char *clksrc_prop, bool gptimer)
......@@ -643,8 +633,8 @@ void __init omap3_secure_sync32k_timer_init(void)
#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_AM33XX)
void __init omap3_gptimer_timer_init(void)
{
__omap_gptimer_init(2, "timer_sys_ck", NULL,
1, "timer_sys_ck", "ti,timer-alwon");
__omap_sync32k_timer_init(2, "timer_sys_ck", NULL,
1, "timer_sys_ck", "ti,timer-alwon", true);
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment