Don't loop infinitely long on serial comm failures
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Tue, 7 Feb 2012 18:50:22 +0000 (20:50 +0200)
committerPeter Stuge <peter@stuge.se>
Tue, 7 Feb 2012 19:37:20 +0000 (20:37 +0100)
commit9dd3ef165a1bf1bc404056d3e54337de1a15ac90
tree7b0ca67437da21c0e99fb59cfc505f0ac869694c
parent7f782a8f0b0691df506c1f0a8cb2d435582bbe68
Don't loop infinitely long on serial comm failures

If serial uart (8250/16x50) takes abnormally long to respond, give
up on logging to serial console and instead let the system boot.

Also reference bit in LSR register with correct name.

Change-Id: I3796efc3e8690425f04a130af4bc99541b64d335
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/611
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
src/lib/uart8250.c