aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/realview_eb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-realview/realview_eb.c')
-rw-r--r--arch/arm/mach-realview/realview_eb.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
index 20b05f2ed61c..8ded2cc79cca 100644
--- a/arch/arm/mach-realview/realview_eb.c
+++ b/arch/arm/mach-realview/realview_eb.c
@@ -309,9 +309,13 @@ static void __init realview_eb_timer_init(void)
309{ 309{
310 unsigned int timer_irq; 310 unsigned int timer_irq;
311 311
312 if (core_tile_eb11mp()) 312 if (core_tile_eb11mp()) {
313#ifdef CONFIG_LOCAL_TIMERS
314 twd_base_addr = __io_address(REALVIEW_EB11MP_TWD_BASE);
315 twd_size = REALVIEW_EB11MP_TWD_SIZE;
316#endif
313 timer_irq = IRQ_EB11MP_TIMER0_1; 317 timer_irq = IRQ_EB11MP_TIMER0_1;
314 else 318 } else
315 timer_irq = IRQ_EB_TIMER0_1; 319 timer_irq = IRQ_EB_TIMER0_1;
316 320
317 realview_timer_init(timer_irq); 321 realview_timer_init(timer_irq);