diff options
author | Magnus Damm <damm@igel.co.jp> | 2007-07-19 23:10:29 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-19 23:18:21 -0400 |
commit | 39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb (patch) | |
tree | 4effb54c779136032f35acddc620077abcb4cd9c /arch/sh/configs | |
parent | 680c45981ae2b4029878806d76aa17bb62d3c674 (diff) |
sh: intc - add support for 7780
This patch converts the cpu specific 7780 setup code to use the
new intc controller. Many new vectors are added and also support for
external interrupt sense configuration. So with this patch it is now
possible to configure external interrupt pins as edge or level
triggered using set_irq_type().
No external interrupts are registered by default.
Use plat_irq_setup_pins() to select between IRQ or IRL mode.
This patch also fixes the Alarm IRQ for the RTC.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/configs')
-rw-r--r-- | arch/sh/configs/r7780mp_defconfig | 2 | ||||
-rw-r--r-- | arch/sh/configs/r7780rp_defconfig | 2 | ||||
-rw-r--r-- | arch/sh/configs/se7780_defconfig | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/configs/r7780mp_defconfig b/arch/sh/configs/r7780mp_defconfig index 17f7402b31d8..ac4de4973b60 100644 --- a/arch/sh/configs/r7780mp_defconfig +++ b/arch/sh/configs/r7780mp_defconfig | |||
@@ -191,7 +191,7 @@ CONFIG_SH_FPU=y | |||
191 | CONFIG_SH_STORE_QUEUES=y | 191 | CONFIG_SH_STORE_QUEUES=y |
192 | CONFIG_SPECULATIVE_EXECUTION=y | 192 | CONFIG_SPECULATIVE_EXECUTION=y |
193 | CONFIG_CPU_HAS_INTEVT=y | 193 | CONFIG_CPU_HAS_INTEVT=y |
194 | CONFIG_CPU_HAS_INTC2_IRQ=y | 194 | CONFIG_CPU_HAS_INTC_IRQ=y |
195 | CONFIG_CPU_HAS_SR_RB=y | 195 | CONFIG_CPU_HAS_SR_RB=y |
196 | 196 | ||
197 | # | 197 | # |
diff --git a/arch/sh/configs/r7780rp_defconfig b/arch/sh/configs/r7780rp_defconfig index 48c6a2194c98..12cc01910cf8 100644 --- a/arch/sh/configs/r7780rp_defconfig +++ b/arch/sh/configs/r7780rp_defconfig | |||
@@ -241,7 +241,7 @@ CONFIG_SH_FPU=y | |||
241 | CONFIG_SH_STORE_QUEUES=y | 241 | CONFIG_SH_STORE_QUEUES=y |
242 | CONFIG_SPECULATIVE_EXECUTION=y | 242 | CONFIG_SPECULATIVE_EXECUTION=y |
243 | CONFIG_CPU_HAS_INTEVT=y | 243 | CONFIG_CPU_HAS_INTEVT=y |
244 | CONFIG_CPU_HAS_INTC2_IRQ=y | 244 | CONFIG_CPU_HAS_INTC_IRQ=y |
245 | CONFIG_CPU_HAS_SR_RB=y | 245 | CONFIG_CPU_HAS_SR_RB=y |
246 | 246 | ||
247 | # | 247 | # |
diff --git a/arch/sh/configs/se7780_defconfig b/arch/sh/configs/se7780_defconfig index 538661e98793..f68743dc3931 100644 --- a/arch/sh/configs/se7780_defconfig +++ b/arch/sh/configs/se7780_defconfig | |||
@@ -218,6 +218,7 @@ CONFIG_SH_FPU=y | |||
218 | # CONFIG_SH_STORE_QUEUES is not set | 218 | # CONFIG_SH_STORE_QUEUES is not set |
219 | CONFIG_CPU_HAS_INTEVT=y | 219 | CONFIG_CPU_HAS_INTEVT=y |
220 | CONFIG_CPU_HAS_INTC2_IRQ=y | 220 | CONFIG_CPU_HAS_INTC2_IRQ=y |
221 | CONFIG_CPU_HAS_INTC_IRQ=y | ||
221 | CONFIG_CPU_HAS_SR_RB=y | 222 | CONFIG_CPU_HAS_SR_RB=y |
222 | 223 | ||
223 | # | 224 | # |