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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
index e42ac56e4db5..f36af1335024 100644
--- a/arch/arm/mach-realview/realview_eb.c
+++ b/arch/arm/mach-realview/realview_eb.c
@@ -256,8 +256,9 @@ static void __init gic_init_irq(void)
256 writel(0x00000000, __io_address(REALVIEW_SYS_LOCK)); 256 writel(0x00000000, __io_address(REALVIEW_SYS_LOCK));
257 257
258 /* core tile GIC, primary */ 258 /* core tile GIC, primary */
259 gic_cpu_base_addr = __io_address(REALVIEW_EB11MP_GIC_CPU_BASE);
259 gic_dist_init(0, __io_address(REALVIEW_EB11MP_GIC_DIST_BASE), 29); 260 gic_dist_init(0, __io_address(REALVIEW_EB11MP_GIC_DIST_BASE), 29);
260 gic_cpu_init(0, __io_address(REALVIEW_EB11MP_GIC_CPU_BASE)); 261 gic_cpu_init(0, gic_cpu_base_addr);
261 262
262#ifndef CONFIG_REALVIEW_MPCORE_REVB 263#ifndef CONFIG_REALVIEW_MPCORE_REVB
263 /* board GIC, secondary */ 264 /* board GIC, secondary */
@@ -267,8 +268,9 @@ static void __init gic_init_irq(void)
267#endif 268#endif
268 } else { 269 } else {
269 /* board GIC, primary */ 270 /* board GIC, primary */
271 gic_cpu_base_addr = __io_address(REALVIEW_GIC_CPU_BASE);
270 gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29); 272 gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29);
271 gic_cpu_init(0, __io_address(REALVIEW_GIC_CPU_BASE)); 273 gic_cpu_init(0, gic_cpu_base_addr);
272 } 274 }
273} 275}
274 276