projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c2901
)
IXP4xx: Fix LL debugging on little-endian CPU.
author
Krzysztof Hałasa
<khc@pm.waw.pl>
Tue, 16 Mar 2010 21:11:59 +0000
(22:11 +0100)
committer
Krzysztof Hałasa
<khc@pm.waw.pl>
Thu, 27 May 2010 11:49:55 +0000
(13:49 +0200)
IXP4xx only needs +3 offset for UART registers when running in big-endian mode.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/include/mach/debug-macro.S
patch
|
blob
|
history
diff --git
a/arch/arm/mach-ixp4xx/include/mach/debug-macro.S
b/arch/arm/mach-ixp4xx/include/mach/debug-macro.S
index
893873e
..
3fc66d6
100644
(file)
--- a/
arch/arm/mach-ixp4xx/include/mach/debug-macro.S
+++ b/
arch/arm/mach-ixp4xx/include/mach/debug-macro.S
@@
-16,8
+16,10
@@
moveq \rx, #0xc8000000
movne \rx, #0xff000000
orrne \rx, \rx, #0x00b00000
+#ifdef __ARMEB__
add \rx,\rx,#3 @ Uart regs are at off set of 3 if
@ byte writes used - Big Endian.
+#endif
.endm
#define UART_SHIFT 2