Commit 1a259251 authored by Michal Simek's avatar Michal Simek

ARM: zynq: Add waituart implementation

Add missing waituart implementation.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 4a32c74e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment