summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-03-22 20:14:09 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-22 20:14:09 +0000
commite99053e07514e514611167ad648c65c87982c4d9 (patch)
tree42a53730832060d917b921f3c7810e54d245d78b /include
parentbd115ea007e671e96b8b53c2e0e885103d39fd40 (diff)
downloadop-kernel-dev-e99053e07514e514611167ad648c65c87982c4d9.zip
op-kernel-dev-e99053e07514e514611167ad648c65c87982c4d9.tar.gz
[ARM] 3379/1: ixp2000: use generic 8250 debug macros
Patch from Lennert Buytenhek The xscale UART in the ixp2000 is basically just an 8250 UART (with some extra bits and pieces), so we can use the generic 8250 debug macros on the ixp2000. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-ixp2000/debug-macro.S17
1 files changed, 2 insertions, 15 deletions
diff --git a/include/asm-arm/arch-ixp2000/debug-macro.S b/include/asm-arm/arch-ixp2000/debug-macro.S
index 5631e08..bc8b396 100644
--- a/include/asm-arm/arch-ixp2000/debug-macro.S
+++ b/include/asm-arm/arch-ixp2000/debug-macro.S
@@ -23,18 +23,5 @@
#endif
.endm
- .macro senduart,rd,rx
- strb \rd, [\rx]
- .endm
-
- .macro busyuart,rd,rx
-1002: ldrb \rd, [\rx, #0x14]
- tst \rd, #0x20
- beq 1002b
- .endm
-
- .macro waituart,rd,rx
- nop
- nop
- nop
- .endm
+#define UART_SHIFT 2
+#include <asm/hardware/debug-8250.S>
OpenPOWER on IntegriCloud