]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: zynq: Write chars till output fifo is full
authorMichal Simek <michal.simek@xilinx.com>
Thu, 14 Jun 2018 07:43:34 +0000 (09:43 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:54:05 +0000 (08:54 +0200)
commite90d2659e46ab9483c24e08611c06922a8ec25d4
tree7f163cb75a279c0fbfc8d4310a8d90d2660ae2e0
parentc9a2c47b91b0334e7c7f5aaa0421ba7d751edbef
serial: zynq: Write chars till output fifo is full

Change logic and put char to fifo till there is a space in output fifo.
Origin logic was that output fifo needs to be empty. It means only one
char was in output queue.
Also remove unused ZYNQ_UART_SR_TXEMPTY macro.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_zynq.c