linux/arch/sh
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
..
boards sh: intc - convert board specific r2d code 2007-09-21 11:57:50 +09:00
boot sh: arch/sh/boot - fix shell usage 2007-07-26 17:43:41 +09:00
cchips sh: intc - rework core code 2007-09-21 11:57:50 +09:00
configs sh: fix defconfigs for sh7751r boards 2007-08-03 10:17:47 +09:00
drivers sh: intc - convert board specific r2d code 2007-09-21 11:57:50 +09:00
kernel sh: intc - rework core code 2007-09-21 11:57:50 +09:00
lib sh: Revert __xdiv64_32 size change. 2007-07-13 12:27:13 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Add SH7720 CPU support. 2007-09-21 11:57:49 +09:00
oprofile sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
tools sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig sh: Initial support for SH-X3 prototype board. 2007-09-21 11:57:48 +09:00
Kconfig.debug sh: Add SH7720 CPU support. 2007-09-21 11:57:49 +09:00
Makefile sh: Initial support for SH-X3 prototype board. 2007-09-21 11:57:48 +09:00