[POWERPC] Uartlite: speed up console output
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 23 Oct 2007 04:27:46 +0000 (14:27 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 1 Nov 2007 12:12:19 +0000 (07:12 -0500)
commit1d6b698764084510fe6168bb5b650165dced03ae
tree3fce7676f8086b0b49d676dcaf99f04a253be989
parent7ae0fa49c6502ca1ada0e043c5d25ee73c0a28c6
[POWERPC] Uartlite: speed up console output

Change the wait_tx routine to call cpu_relax() instead of udelay() to
reduce console output latency and test for the TXFULL bit instead of
TXEMPTY.  That way the FIFO doesn't need to by 100% flushed before
writing the next character.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
drivers/serial/uartlite.c