aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ag5evm.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-12-21 03:37:32 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-12-21 23:46:12 -0500
commit5f53a56af50c002cdb091914aa98df80b1b28ec8 (patch)
treed169397ef9af6949b19bf3e430a2dfb5bd80d113 /arch/arm/mach-shmobile/board-ag5evm.c
parent8bcee1832d23869c2cdb6886ae5210b0143256f0 (diff)
ARM: mach-shmobile: sh73a0 INTCS support
Add INTCS support for the sh73a0 processor. The interrupts on the sh73a0 processor are managed through controllers such as GIC, INTCS and INTCA. The ARM cores use the GIC as primary interrupt controller and the INTCS and INTCA are hanging off the GIC as cascaded interrupt controllers. Peripherals connected both to the GIC and the INTC controllers should if possible only use the GIC. If no GIC connection is available then INTCS and INTCA may be used instead. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ag5evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-ag5evm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
index d4c82bd42524..85f9269d83ca 100644
--- a/arch/arm/mach-shmobile/board-ag5evm.c
+++ b/arch/arm/mach-shmobile/board-ag5evm.c
@@ -179,12 +179,11 @@ static void __init ag5evm_map_io(void)
179 179
180void __init ag5evm_init_irq(void) 180void __init ag5evm_init_irq(void)
181{ 181{
182 sh73a0_init_irq();
183
182 /* setup PINT: enable PINTA2 as active low */ 184 /* setup PINT: enable PINTA2 as active low */
183 __raw_writel(__raw_readl(PINTER0A) | (1<<29), PINTER0A); 185 __raw_writel(__raw_readl(PINTER0A) | (1<<29), PINTER0A);
184 __raw_writew(__raw_readw(PINTCR0A) | (2<<10), PINTCR0A); 186 __raw_writew(__raw_readw(PINTCR0A) | (2<<10), PINTCR0A);
185
186 gic_dist_init(0, __io(0xf0001000), 29);
187 gic_cpu_init(0, __io(0xf0000100));
188} 187}
189 188
190static void __init ag5evm_init(void) 189static void __init ag5evm_init(void)