sh: SE73180 updates for IRQ changes.
Paul Mundt [Wed, 27 Sep 2006 07:14:54 +0000 (16:14 +0900)]
SE73180 can use the generic support, we just need to
wire up the IRQ demuxing.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

arch/sh/boards/se/73180/setup.c
arch/sh/configs/se73180_defconfig
arch/sh/mm/Kconfig

index cddc7a2..4daf53b 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/init.h>
 #include <asm/machvec.h>
 #include <asm/se73180.h>
+#include <asm/irq.h>
 
 void heartbeat_73180se(void);
 void init_73180se_IRQ(void);
@@ -50,6 +51,7 @@ struct sh_machine_vector mv_73180se __initmv = {
        .mv_outsl = sh73180se_outsl,
 
        .mv_init_irq = init_73180se_IRQ,
+       .mv_irq_demux = shmse_irq_demux,
 #ifdef CONFIG_HEARTBEAT
        .mv_heartbeat = heartbeat_73180se,
 #endif
index d217e44..fe19feb 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_SH_73180_SOLUTION_ENGINE=y
 # CONFIG_SH_SECUREEDGE5410 is not set
 # CONFIG_SH_HS7751RVOIP is not set
 # CONFIG_SH_RTS7751R2D is not set
+# CONFIG_SH_R7780RP is not set
 # CONFIG_SH_EDOSK7705 is not set
 # CONFIG_SH_SH4202_MICRODEV is not set
 # CONFIG_SH_UNKNOWN is not set
index fb586b1..9064dfc 100644 (file)
@@ -20,7 +20,6 @@ config CPU_SH4
 config CPU_SH4A
        bool
        select CPU_SH4
-       select CPU_HAS_INTC2_IRQ
 
 config CPU_SUBTYPE_ST40
        bool
@@ -144,6 +143,7 @@ config CPU_SUBTYPE_SH7770
 config CPU_SUBTYPE_SH7780
        bool "Support SH7780 processor"
        select CPU_SH4A
+       select CPU_HAS_INTC2_IRQ
 
 endmenu