|
@@ -302,7 +302,12 @@ static unsigned char intc_irq_sense_table[IRQ_TYPE_SENSE_MASK + 1] = {
|
|
|
[IRQ_TYPE_EDGE_FALLING] = VALID(0),
|
|
|
[IRQ_TYPE_EDGE_RISING] = VALID(1),
|
|
|
[IRQ_TYPE_LEVEL_LOW] = VALID(2),
|
|
|
+ /* SH7706, SH7707 and SH7709 do not support high level triggered */
|
|
|
+#if !defined(CONFIG_CPU_SUBTYPE_SH7706) && \
|
|
|
+ !defined(CONFIG_CPU_SUBTYPE_SH7707) && \
|
|
|
+ !defined(CONFIG_CPU_SUBTYPE_SH7709)
|
|
|
[IRQ_TYPE_LEVEL_HIGH] = VALID(3),
|
|
|
+#endif
|
|
|
};
|
|
|
|
|
|
static int intc_set_sense(unsigned int irq, unsigned int type)
|