diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-02-03 17:36:23 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-03-17 15:12:08 +0100 |
commit | 1a259251f3638b04c1dbe07220958af9572c95bb (patch) | |
tree | 358ae314cda40131d572065cea4bce37f581d4eb /arch/arm/include/debug | |
parent | 4a32c74e762236a53627536b9b9c1693d3073359 (diff) |
ARM: zynq: Add waituart implementation
Add missing waituart implementation.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include/debug')
-rw-r--r-- | arch/arm/include/debug/zynq.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/debug/zynq.S b/arch/arm/include/debug/zynq.S index f9aa9740a73..0b762fafa75 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 |