mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
ARM: zynq: Add waituart implementation
Add missing waituart implementation. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
4a32c74e76
commit
1a259251f3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user