[PATCHv2 03/10] ARM: ep93xx: convert to MULTI_IRQ_HANDLER

Linus Walleij linus.walleij at linaro.org
Wed Sep 28 21:15:32 EST 2011


On Wed, Sep 28, 2011 at 12:41 PM, Jamie Iles <jamie at jamieiles.com> wrote:

> -               .macro  get_irqnr_and_base, irqnr, irqstat, base, tmp
> -               ldr     \base, =(EP93XX_AHB_VIRT_BASE)
> -               orr     \base, \base, #0x000b0000
> -               mov     \irqnr, #0
> -               ldr     \irqstat, [\base]               @ lower 32 interrupts
> -               cmp     \irqstat, #0
> -               bne     1001f
> -
> -               eor     \base, \base, #0x00070000
> -               ldr     \irqstat, [\base]               @ upper 32 interrupts
> -               cmp     \irqstat, #0
> -               beq     1002f
> -               mov     \irqnr, #0x20

Two VIC instances again...

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list