Commit 5bf0456a authored by Catalin Marinas's avatar Catalin Marinas

Thumb-2: Implement the unified support for the Integrator boards

This patch adds the ARM/Thumb-2 unified support the Integrator boards.
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 5d45349e
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
.macro addruart,rx .macro addruart,rx
mrc p15, 0, \rx, c1, c0 mrc p15, 0, \rx, c1, c0
tst \rx, #1 @ MMU enabled? tst \rx, #1 @ MMU enabled?
itee eq
moveq \rx, #0x16000000 @ physical base address moveq \rx, #0x16000000 @ physical base address
movne \rx, #0xf0000000 @ virtual base movne \rx, #0xf0000000 @ virtual base
addne \rx, \rx, #0x16000000 >> 4 addne \rx, \rx, #0x16000000 >> 4
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
ldr \irqstat, [\base, #IRQ_STATUS] @ get masked status ldr \irqstat, [\base, #IRQ_STATUS] @ get masked status
ldr \base, =IO_ADDRESS(INTEGRATOR_HDR_BASE) ldr \base, =IO_ADDRESS(INTEGRATOR_HDR_BASE)
teq \irqstat, #0 teq \irqstat, #0
itt eq
ldreq \irqstat, [\base, #(INTEGRATOR_HDR_IC_OFFSET+IRQ_STATUS)] ldreq \irqstat, [\base, #(INTEGRATOR_HDR_IC_OFFSET+IRQ_STATUS)]
moveq \irqnr, #IRQ_CIC_START moveq \irqnr, #IRQ_CIC_START
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment