[U-Boot] Improper assumption of serial port

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sun Apr 7 17:42:53 CEST 2013


U-boot on coreboot assumes that serial port is always available and
improperly interprets missing ones as stream of 0xff. What would be the
proper way to handle this? Is it acceptable to probe at it's address
whether we have a valid ns8250/ns16550 device (we can read back the
divisor and compare with what we have set) and dropping the serial if
none is available?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130407/66ea45e1/attachment.pgp>


More information about the U-Boot mailing list