diff options
author | Sascha Hauer <sascha@saschahauer.de> | 2006-05-07 19:56:27 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-05-07 19:56:27 +0200 |
commit | 216251cff98838f2b79c53fc8a9e76884944be7d (patch) | |
tree | 7ebc33641b066c15031871c7251fdfa03559b5a2 /include | |
parent | [ARM] rtc-sa1100: fix compiler warnings and error cleanup (diff) | |
download | linux-216251cff98838f2b79c53fc8a9e76884944be7d.tar.xz linux-216251cff98838f2b79c53fc8a9e76884944be7d.zip |
[ARM] 3501/1: i.MX: fix lowlevel debug macros
Patch from Sascha Hauer
This patch fixes the addruart macro to work with both mmu enabled and
disabled.
Signed-off-by: Sascha Hauer <s.hauer@pengutonix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-imx/debug-macro.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-imx/debug-macro.S b/include/asm-arm/arch-imx/debug-macro.S index 83f552f7bcc1..c611871643a2 100644 --- a/include/asm-arm/arch-imx/debug-macro.S +++ b/include/asm-arm/arch-imx/debug-macro.S @@ -16,7 +16,7 @@ tst \rx, #1 @ MMU enabled? moveq \rx, #0x00000000 @ physical movne \rx, #0xe0000000 @ virtual - orr \rx, \rx, #0x00200000 + orreq \rx, \rx, #0x00200000 @ physical orr \rx, \rx, #0x00006000 @ UART1 offset .endm |