drivers: ti: uart: remove UART_FCR writes
This patch removes the code that touched UART_FCR, from
console_core_putc(). The check for whether transmit FIFO is
full is sufficient before writing to UART TX FIFO. In fact
setting UARTFCR_TXCLR immediately after a byte is written to
FIFO might even result in loss of that byte, if UART hasn't
sent that byte out yet.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent 3fb340a commit 8178ea7cb101f02f20660242a2e7db43707a49fc
@Varun Wadekar Varun Wadekar authored on 21 Apr 2017
Showing 1 changed file
View
drivers/ti/uart/aarch64/16550_console.S