projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/arm/include/debug/zynq.S
b/arch/arm/include/debug/zynq.S
index f9aa9740a73f09676d5a963f47e2d8e4f7d83e6c..0b762fafa7586a092399f8864f1cfdeaf3ff05ce 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