Merge branch 'common/mmcif' into rmobile-latest
authorPaul Mundt <lethal@linux-sh.org>
Fri, 14 Jan 2011 07:06:31 +0000 (16:06 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 14 Jan 2011 07:06:31 +0000 (16:06 +0900)
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/intc-sh73a0.c

index 4d1b4c5..a33c44f 100644 (file)
@@ -60,6 +60,7 @@ endchoice
 
 config MACH_AG5EVM
        bool "AG5EVM board"
+       select ARCH_REQUIRE_GPIOLIB
        depends on ARCH_SH73A0
 
 config MACH_MACKEREL
index 322d8d5..5d0e150 100644 (file)
@@ -252,10 +252,11 @@ static irqreturn_t sh73a0_intcs_demux(int irq, void *dev_id)
 
 void __init sh73a0_init_irq(void)
 {
-       void __iomem *gic_base = __io(0xf0001000);
+       void __iomem *gic_dist_base = __io(0xf0001000);
+       void __iomem *gic_cpu_base = __io(0xf0000100);
        void __iomem *intevtsa = ioremap_nocache(0xffd20100, PAGE_SIZE);
 
-       gic_init(0, 29, gic_base, gic_base);
+       gic_init(0, 29, gic_dist_base, gic_cpu_base);
 
        register_intc_controller(&intcs_desc);