diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-01-13 17:18:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 17:18:59 +0000 |
commit | 44f1c0bdeda023d853e460d7c949c16647a01273 (patch) | |
tree | 01701b7501c5e09bde43c3fedf641b0c386a6ed4 /drivers | |
parent | fc7c870bbf18e43a7b70b3f04602e0f419deb60e (diff) | |
parent | 861ac52a7e80c0399b6e543e7125a9c1e18a63f8 (diff) |
Merge pull request #807 from nmenon/upstream/fix-16650-rx
uart: 16550: Fix getc
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ti/uart/aarch64/16550_console.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ti/uart/aarch64/16550_console.S b/drivers/ti/uart/aarch64/16550_console.S index 05353814..84664829 100644 --- a/drivers/ti/uart/aarch64/16550_console.S +++ b/drivers/ti/uart/aarch64/16550_console.S @@ -146,7 +146,7 @@ endfunc console_core_putc func console_core_getc /* Check if the receive FIFO is empty */ 1: ldr w1, [x0, #UARTLSR] - tbz w1, #UARTLSR_RDR, 1b + tbz w1, #UARTLSR_RDR_BIT, 1b ldr w0, [x0, #UARTRX] ret getc_error: |