diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-iop32x/entry-macro.S | 3 | ||||
-rw-r--r-- | include/asm-arm/arch-iop33x/entry-macro.S | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-arm/arch-iop32x/entry-macro.S b/include/asm-arm/arch-iop32x/entry-macro.S index 52d9435c6a34..00038c17317a 100644 --- a/include/asm-arm/arch-iop32x/entry-macro.S +++ b/include/asm-arm/arch-iop32x/entry-macro.S | |||
@@ -17,7 +17,8 @@ | |||
17 | */ | 17 | */ |
18 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | 18 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp |
19 | mov \irqnr, #0 | 19 | mov \irqnr, #0 |
20 | mrc p6, 0, \irqstat, c8, c0, 0 @ Read IINTSRC | 20 | ldr \base, =IOP3XX_REG_ADDR(0x07D8) |
21 | ldr \irqstat, [\base] @ Read IINTSRC | ||
21 | cmp \irqstat, #0 | 22 | cmp \irqstat, #0 |
22 | beq 1001f | 23 | beq 1001f |
23 | clz \irqnr, \irqstat | 24 | clz \irqnr, \irqstat |
diff --git a/include/asm-arm/arch-iop33x/entry-macro.S b/include/asm-arm/arch-iop33x/entry-macro.S index 980ec9b1ac83..57f6ea0069e4 100644 --- a/include/asm-arm/arch-iop33x/entry-macro.S +++ b/include/asm-arm/arch-iop33x/entry-macro.S | |||
@@ -17,10 +17,11 @@ | |||
17 | */ | 17 | */ |
18 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | 18 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp |
19 | mov \irqnr, #0 | 19 | mov \irqnr, #0 |
20 | mrc p6, 0, \irqstat, c4, c0, 0 @ Read IINTSRC0 | 20 | ldr \base, =IOP3XX_REG_ADDR(0x7A0) |
21 | ldr \irqstat, [\base] @ Read IINTSRC0 | ||
21 | cmp \irqstat, #0 | 22 | cmp \irqstat, #0 |
22 | bne 1002f | 23 | bne 1002f |
23 | mrc p6, 0, \irqstat, c5, c0, 0 @ Read IINTSRC1 | 24 | ldr \irqstat, [\base, #4] @ Read IINTSRC1 |
24 | cmp \irqstat, #0 | 25 | cmp \irqstat, #0 |
25 | beq 1001f | 26 | beq 1001f |
26 | clz \irqnr, \irqstat | 27 | clz \irqnr, \irqstat |