[U-Boot] [PATCH v2 1/4] ns16550: Add function to drain serial output

Mike Frysinger vapier at gentoo.org
Sun Mar 11 03:06:38 CET 2012


On Friday 09 March 2012 15:32:55 Simon Glass wrote:
> Sometimes we want to be sure that the output FIFO has fully drained (e.g.
> because we are about to reset or the port or reset the board).

imo, we shouldn't be draining fifos before a reset in hardware that doesn't 
matter -- it's just a waste of time.  if it were a CONFIG knob for people, i 
wouldn't complain too much, but i still wouldn't see the point ... you'd lose 
like maybe 2 or 3 chars at the end of a msg ?  not that big of a deal.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120310/7323d669/attachment.pgp>


More information about the U-Boot mailing list