aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/debug/vexpress.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/debug/vexpress.S')
-rw-r--r--arch/arm/include/debug/vexpress.S11
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/include/debug/vexpress.S b/arch/arm/include/debug/vexpress.S
index 9f509f55d078..dc8e882a6257 100644
--- a/arch/arm/include/debug/vexpress.S
+++ b/arch/arm/include/debug/vexpress.S
@@ -21,14 +21,17 @@
21#if defined(CONFIG_DEBUG_VEXPRESS_UART0_DETECT) 21#if defined(CONFIG_DEBUG_VEXPRESS_UART0_DETECT)
22 22
23 .macro addruart,rp,rv,tmp 23 .macro addruart,rp,rv,tmp
24 .arch armv7-a
24 25
25 @ Make an educated guess regarding the memory map: 26 @ Make an educated guess regarding the memory map:
26 @ - the original A9 core tile, which has MPCore peripherals 27 @ - the original A9 core tile (based on ARM Cortex-A9 r0p1)
27 @ located at 0x1e000000, should use UART at 0x10009000 28 @ should use UART at 0x10009000
28 @ - all other (RS1 complaint) tiles use UART mapped 29 @ - all other (RS1 complaint) tiles use UART mapped
29 @ at 0x1c090000 30 @ at 0x1c090000
30 mrc p15, 4, \tmp, c15, c0, 0 31 mrc p15, 0, \rp, c0, c0, 0
31 cmp \tmp, #0x1e000000 32 movw \rv, #0xc091
33 movt \rv, #0x410f
34 cmp \rp, \rv
32 35
33 @ Original memory map 36 @ Original memory map
34 moveq \rp, #DEBUG_LL_UART_OFFSET 37 moveq \rp, #DEBUG_LL_UART_OFFSET