[ARM] realview: disable second GIC on RevB MPCore platforms
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 3 Sep 2007 08:43:54 +0000 (09:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Sep 2007 14:10:25 +0000 (15:10 +0100)
The second GIC asserts a permanent interrupt on Rev.B MPCore platforms.
Disable initialisation of this GIC to avoid unbootable systems.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/realview_eb.c

index 3dba666151dbb7be39bc22757701adacc012a447..ecec2f85c4cd12624f178e5ee46af887cc93d0c0 100644 (file)
@@ -165,7 +165,7 @@ static void __init gic_init_irq(void)
 #endif
        gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29);
        gic_cpu_init(0, __io_address(REALVIEW_GIC_CPU_BASE));
-#ifdef CONFIG_REALVIEW_MPCORE
+#if defined(CONFIG_REALVIEW_MPCORE) && !defined(CONFIG_REALVIEW_MPCORE_REVB)
        gic_dist_init(1, __io_address(REALVIEW_GIC1_DIST_BASE), 64);
        gic_cpu_init(1, __io_address(REALVIEW_GIC1_CPU_BASE));
        gic_cascade_irq(1, IRQ_EB_IRQ1);