From: Michal Simek Date: Mon, 3 Feb 2014 16:36:23 +0000 (+0100) Subject: ARM: zynq: Add waituart implementation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a259251f3638b04c1dbe07220958af9572c95bb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: zynq: Add waituart implementation Add missing waituart implementation. Signed-off-by: Michal Simek --- diff --git a/arch/arm/include/debug/zynq.S b/arch/arm/include/debug/zynq.S index f9aa9740a73f..0b762fafa758 100644 --- 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