OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a32c74
)
ARM: zynq: Add waituart implementation
author
Michal Simek
<michal.simek@xilinx.com>
Mon, 3 Feb 2014 16:36:23 +0000
(17:36 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Mon, 17 Mar 2014 14:12:08 +0000
(15:12 +0100)
Add missing waituart implementation.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/include/debug/zynq.S
patch
|
blob
|
history
diff --git
a/arch/arm/include/debug/zynq.S
b/arch/arm/include/debug/zynq.S
index
f9aa974
..
0b762fa
100644
(file)
--- a/
arch/arm/include/debug/zynq.S
+++ b/
arch/arm/include/debug/zynq.S
@@
-42,6
+42,9
@@
.endm
.macro waituart,rd,rx
+1001: ldr \rd, [\rx, #UART_SR_OFFSET]
+ tst \rd, #UART_SR_TXEMPTY
+ beq 1001b
.endm
.macro busyuart,rd,rx