• Magnus Damm's avatar
    sh: intc - irl mode update for sh7780 and sh7785 · 953c8ef2
    Magnus Damm authored
    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: default avatarMagnus Damm <damm@igel.co.jp>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    953c8ef2
setup-sh7780.c 10.2 KB