aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-rpc/debug-macro.S
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-rpc/debug-macro.S')
-rw-r--r--include/asm-arm/arch-rpc/debug-macro.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-arm/arch-rpc/debug-macro.S b/include/asm-arm/arch-rpc/debug-macro.S
index 0711828164cd..456d3d754c3d 100644
--- a/include/asm-arm/arch-rpc/debug-macro.S
+++ b/include/asm-arm/arch-rpc/debug-macro.S
@@ -12,7 +12,10 @@
12*/ 12*/
13 13
14 .macro addruart,rx 14 .macro addruart,rx
15 mov \rx, #0xe0000000 15 mrc p15, 0, \rx, c1, c0
16 tst \rx, #1 @ MMU enabled?
17 moveq \rx, #0x03000000
18 movne \rx, #0xe0000000
16 orr \rx, \rx, #0x00010000 19 orr \rx, \rx, #0x00010000
17 orr \rx, \rx, #0x00000fe0 20 orr \rx, \rx, #0x00000fe0
18 .endm 21 .endm