summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-rpc/debug-macro.S
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-17 21:47:24 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-17 21:47:24 (GMT)
commita4e884a311893b476893739901bed382cd62b4fe (patch)
tree7b7b52678b61dfdf8e3a16b0e920d1e9b0cae979 /include/asm-arm/arch-rpc/debug-macro.S
parentce1dc02f76432a46db149241e015a4f782974623 (diff)
parentcc56449f53ba45646c6f0a2edf77c4acb342caed (diff)
downloadlinux-fsl-qoriq-a4e884a311893b476893739901bed382cd62b4fe.tar.xz
Merge with master.kernel.org:/home/rmk/linux-2.6-rmk.git - ARM changes
First ever true git merge. Let's see if it actually works.
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 0711828..456d3d7 100644
--- a/include/asm-arm/arch-rpc/debug-macro.S
+++ b/include/asm-arm/arch-rpc/debug-macro.S
@@ -12,7 +12,10 @@
*/
.macro addruart,rx
- mov \rx, #0xe0000000
+ mrc p15, 0, \rx, c1, c0
+ tst \rx, #1 @ MMU enabled?
+ moveq \rx, #0x03000000
+ movne \rx, #0xe0000000
orr \rx, \rx, #0x00010000
orr \rx, \rx, #0x00000fe0
.endm