]> git.sur5r.net Git - u-boot/commit
serial: zynq: Change logic in putc
authorMichal Simek <michal.simek@xilinx.com>
Wed, 3 Feb 2016 14:16:51 +0000 (15:16 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 22 Feb 2016 15:21:04 +0000 (16:21 +0100)
commit6cd0f2a6cd40bdf3d06d60dab86f425285475ea0
tree7de0768917733b88f256a22856b5bdd927372ec6
parentd82d63cc9bc57952cefdd539f7d5c6e9da608cec
serial: zynq: Change logic in putc

Sync logic with Linux kernel where TX empty flag is checked before char
is sent.
This logic is fixing problem with console on zynqmp platform.

For example:
DRAM:  2 GiB
Enabling Caches...
EL Level: ��   sdhci@ff170000: 0
Using default environment

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