kernel_optimize_test/arch/sh/boards
Magnus Damm 2eeec85638 sh: intc - convert board specific r2d code
This patch converts the board specific interrupt code for r2d to make
use of intc. While at it we improve the Kconfig to avoid confusion.

- Two sets of interrupt tables exist - one for R2D-1 and one for R2D-PLUS.
- R2D-1 and R2D-PLUS use the same irq constants.
- R2D-1 has AX88796 support, R2D-PLUS does not hook up that IRQ.
- R2D-PLUS has KEY support, R2D-1 does not hook up that IRQ.
- The number and order of IRQ values are disconnected from register bits.
- Interrupt sources now start from IRQ 100.
- The machvec demux function converts from irlm IRQ 0-14 to IRQ 100++.

Tested on R2D-1 and R2D-PLUS boards.

Version 2 adds CONFIG_RTS7751R2D_1 and CONFIG_RTS7751R2D_PLUS together
with intc structured as __initdata.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-09-21 11:57:50 +09:00
..
dreamcast sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
hp6xx sh: Kill off dead mach.c for hp6xx. 2007-07-12 10:47:08 +09:00
landisk sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
lboxre2 sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
mpc1211 sh: Fix up PCI section mismatch warnings. 2007-07-20 13:22:47 +09:00
renesas sh: intc - convert board specific r2d code 2007-09-21 11:57:50 +09:00
se sh: simplify se7780 IRQ code 2007-09-21 11:57:47 +09:00
sh03 sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00
shmin sh: intc - remove redundant irq code for shmin 2007-09-21 11:57:47 +09:00
snapgear sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00
superh/microdev sh: Kill off machvec aliases. 2007-06-08 02:43:39 +00:00
titan sh: intc - remove redundant irq code for sh03, snapgear and titan 2007-09-21 11:57:47 +09:00