ARM: mach-shmobile: Break out INTC IRQ code
authorMagnus Damm <damm@opensource.se>
Wed, 12 Oct 2011 07:21:00 +0000 (16:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 4 Nov 2011 15:57:47 +0000 (00:57 +0900)
commitd6e15eefcb334deac3e877fce80ace3b91b0ab69
treee97c3499809589635afe2c7906be8167fb2a6b16
parentab61a6857269989acc6796ffc44e2b4f11a193dc
ARM: mach-shmobile: Break out INTC IRQ code

Add INTC_IRQ_PINS_16() and INTC_IRQ_PINS_32() to mach/intc.h.
These macros define 16 or 32 external IRQ pins on a certain
memory base address. Can be used with INTCA or INTCS.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/include/mach/intc.h [new file with mode: 0644]