git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
include
/
asm-arm
/
arch-cl7500
/
debug-macro.S
diff --git
a/include/asm-arm/arch-cl7500/debug-macro.S
b/include/asm-arm/arch-cl7500/debug-macro.S
index
9a2b67d
..
a5d489d
100644
(file)
--- a/
include/asm-arm/arch-cl7500/debug-macro.S
+++ b/
include/asm-arm/arch-cl7500/debug-macro.S
@@
-17,5
+17,15
@@
orr \rx, \rx, #0x00000be0
.endm
orr \rx, \rx, #0x00000be0
.endm
-#define UART_SHIFT 2
-#include <asm/hardware/debug-8250.S>
+ .macro senduart,rd,rx
+ strb \rd, [\rx]
+ .endm
+
+ .macro busyuart,rd,rx
+ .endm
+
+ .macro waituart,rd,rx
+1001: ldrb \rd, [\rx, #0x14]
+ tst \rd, #0x20
+ beq 1001b
+ .endm