aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-ixp4xx/debug-macro.S
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2005-06-24 20:54:35 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-06-24 20:54:35 +0100
commit5932ae3f5d610fd8d047ef4693bab9f084e5c56d (patch)
treefc9d2d3b8b3a0144a33524bddc0cbf25e8aedd26 /include/asm-arm/arch-ixp4xx/debug-macro.S
parentc4982887cacf2122bc256e901598b58caf4a34be (diff)
[PATCH] ARM: 2745/1: Fix IXP4xx debug macros
Patch from Deepak Saxena Current IXP4xx debug macros do not work in the small window between the MMU being enabled and the call to map_io() b/c the standard peripheral mapping is not properly setup for use with the low-level debug code. This patch creates a new section-aligned mapping for the UART specifically for use with the debug macros. Signed-off-by: Deepak Saxena Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-ixp4xx/debug-macro.S')
-rw-r--r--include/asm-arm/arch-ixp4xx/debug-macro.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-ixp4xx/debug-macro.S b/include/asm-arm/arch-ixp4xx/debug-macro.S
index 4499ae8e4b4..45a6c6cc29d 100644
--- a/include/asm-arm/arch-ixp4xx/debug-macro.S
+++ b/include/asm-arm/arch-ixp4xx/debug-macro.S
@@ -14,6 +14,7 @@
mrc p15, 0, \rx, c1, c0
tst \rx, #1 @ MMU enabled?
moveq \rx, #0xc8000000
+ orrne \rx, \rx, #0x00b00000
movne \rx, #0xff000000
add \rx,\rx,#3 @ Uart regs are at off set of 3 if
@ byte writes used - Big Endian.