Dear Simon Glass, In message <1331325178-14634-1-git-send-email-...@chromium.org> you 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). Add a
Seems there is one unintentional "or". > function for this. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > Changes in v2: > - Add function to drain the ns16550's FIFO > > drivers/serial/ns16550.c | 11 +++++++++++ > include/ns16550.h | 3 +++ > 2 files changed, 14 insertions(+), 0 deletions(-) I dislike this. This is mostly dead code, enabled for eveybody where it just increases the memory footprint for no use. Also I do not understand why it would be needed at all. We did not have such a requirement for any system before, so I feel you must be doing something wrong, or at least very exotic. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Extreme feminine beauty is always disturbing. -- Spock, "The Cloud Minders", stardate 5818.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot