sh: intc - irl mode update for sh7780 and sh7785
authorMagnus Damm <damm@igel.co.jp>
Mon, 10 Sep 2007 03:03:50 +0000 (12:03 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:51 +0000 (11:57 +0900)
commit953c8ef250fc6c329d1607cf9cd7fac1d72d7579
treebd327af6c320d890ab61dd6893fbdd35fca86c80
parent123f5f188638bfc673aca22ade64b863ec3a2804
sh: intc - irl mode update for sh7780 and sh7785

This patch contains the following fixes and improvements:
- Fix address typo for INTMSK2 / INTMSKCLR2 registers on sh7780.
- Adds IRQ_MODE_IRLnnnn_MASK using intc controller for IRL masking.
- Good old IRQ_MODE_IRLnnnn should not register any intc controller.
- plat_irq_setup_pins() now selects IRL or IRQ mode.
- the holding function is now disabled using ICR0.

By default all external pin interrupts are disabled.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7780.c
arch/sh/kernel/cpu/sh4a/setup-sh7785.c
include/asm-sh/hw_irq.h