Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ARM: zynq: Add waituart implementation



Add missing waituart implementation.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 4a32c74e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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