summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/renesas/rts7751r2d/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-08-12 15:29:16 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-09-21 11:57:50 +0900
commit2eeec85638cebcb6fbcb2abfe182a32252f3456d (patch)
tree3b98f924a5f961d844555794a3564cbc2c3a8be5 /arch/sh/boards/renesas/rts7751r2d/Kconfig
parent73505b445dbb8ad12df468404c4dd5cde9c40c65 (diff)
downloadblackbird-op-linux-2eeec85638cebcb6fbcb2abfe182a32252f3456d.tar.gz
blackbird-op-linux-2eeec85638cebcb6fbcb2abfe182a32252f3456d.zip
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>
Diffstat (limited to 'arch/sh/boards/renesas/rts7751r2d/Kconfig')
-rw-r--r--arch/sh/boards/renesas/rts7751r2d/Kconfig24
1 files changed, 21 insertions, 3 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/Kconfig b/arch/sh/boards/renesas/rts7751r2d/Kconfig
index 7780d1fb13ff..925a7aa861a7 100644
--- a/arch/sh/boards/renesas/rts7751r2d/Kconfig
+++ b/arch/sh/boards/renesas/rts7751r2d/Kconfig
@@ -2,10 +2,28 @@ if SH_RTS7751R2D
menu "RTS7751R2D options"
-config RTS7751R2D_REV11
- bool "RTS7751R2D Rev. 1.1 board support"
+choice
+ prompt "R2D Board Revision"
+ default RTS7751R2D_PLUS
+
+config RTS7751R2D_PLUS
+ bool "R2D-PLUS"
+ help
+ Selecting this option will configure the kernel for R2D-PLUS.
+
+ R2D-PLUS is the smaller of the two R2D board versions, equipped
+ with a single PCI slot.
+
+config RTS7751R2D_1
+ bool "R2D-1"
help
- Selecting this option will support version rev. 1.1.
+ Selecting this option will configure the kernel for R2D-1.
+
+ R2D-1 is the larger of the two R2D board versions, equipped
+ with two PCI slots.
+
+endchoice
+
endmenu
endif
OpenPOWER on IntegriCloud