Skip to content

Commit

Permalink
[ARM] 3379/1: ixp2000: use generic 8250 debug macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Mar 22, 2006
1 parent bd115ea commit e99053e
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions include/asm-arm/arch-ixp2000/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit e99053e

Please sign in to comment.