sh: intc - add support for 7780
authorMagnus Damm <damm@igel.co.jp>
Fri, 20 Jul 2007 03:10:29 +0000 (12:10 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 03:18:21 +0000 (12:18 +0900)
commit39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb
tree4effb54c779136032f35acddc620077abcb4cd9c
parent680c45981ae2b4029878806d76aa17bb62d3c674
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>
arch/sh/Kconfig
arch/sh/configs/r7780mp_defconfig
arch/sh/configs/r7780rp_defconfig
arch/sh/configs/se7780_defconfig
arch/sh/kernel/cpu/sh4a/setup-sh7780.c
arch/sh/mm/Kconfig
include/asm-sh/hw_irq.h