diff options
author | Magnus Damm <damm@opensource.se> | 2010-12-21 08:37:32 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-12-22 13:46:12 +0900 |
commit | 5f53a56af50c002cdb091914aa98df80b1b28ec8 (patch) | |
tree | d169397ef9af6949b19bf3e430a2dfb5bd80d113 /arch/arm/mach-shmobile/board-ag5evm.c | |
parent | 8bcee1832d23869c2cdb6886ae5210b0143256f0 (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.c | 5 |
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 d4c82bd4252..85f9269d83c 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) void __init ag5evm_init_irq(void) { + sh73a0_init_irq(); + /* setup PINT: enable PINTA2 as active low */ __raw_writel(__raw_readl(PINTER0A) | (1<<29), PINTER0A); __raw_writew(__raw_readw(PINTCR0A) | (2<<10), PINTCR0A); - - gic_dist_init(0, __io(0xf0001000), 29); - gic_cpu_init(0, __io(0xf0000100)); } static void __init ag5evm_init(void) |