提交 c3083411 编写于 作者: T Tony Lindgren

omap: Fix CONFIG_LOCAL_TIMERS initialization for multi-omap

Fix CONFIG_LOCAL_TIMERS initialization for multi-omap
Signed-off-by: NTony Lindgren <tony@atomide.com>
Acked-By: NSantosh Shilimkar <santosh.shilimkar@ti.com>
上级 49553c2e
......@@ -228,8 +228,10 @@ static void __init omap2_gp_clocksource_init(void)
static void __init omap2_gp_timer_init(void)
{
#ifdef CONFIG_LOCAL_TIMERS
twd_base = ioremap(OMAP44XX_LOCAL_TWD_BASE, SZ_256);
BUG_ON(!twd_base);
if (cpu_is_omap44xx()) {
twd_base = ioremap(OMAP44XX_LOCAL_TWD_BASE, SZ_256);
BUG_ON(!twd_base);
}
#endif
omap_dm_timer_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册