Skip to content

Commit

Permalink
Merge branch 'vexpress-fixes' of git://git.linaro.org/people/pawelmol…
Browse files Browse the repository at this point in the history
…l/linux into next/fixes-non-critical

* 'vexpress-fixes' of git://git.linaro.org/people/pawelmoll/linux:
  ARM: vexpress: Make the debug UART detection more specific

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Oct 25, 2012
2 parents 6f0c058 + 852663d commit eb04507
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions arch/arm/include/debug/vexpress.S
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
.macro addruart,rp,rv,tmp

@ Make an educated guess regarding the memory map:
@ - the original A9 core tile, which has MPCore peripherals
@ located at 0x1e000000, should use UART at 0x10009000
@ - the original A9 core tile (based on ARM Cortex-A9 r0p1)
@ should use UART at 0x10009000
@ - all other (RS1 complaint) tiles use UART mapped
@ at 0x1c090000
mrc p15, 4, \tmp, c15, c0, 0
cmp \tmp, #0x1e000000
mrc p15, 0, \rp, c0, c0, 0
movw \rv, #0xc091
movt \rv, #0x410f
cmp \rp, \rv

@ Original memory map
moveq \rp, #DEBUG_LL_UART_OFFSET
Expand Down

0 comments on commit eb04507

Please sign in to comment.