[U-Boot] [PATCH] serial: Move carriage return before line feed for some serial drivers

Marek Vasut marex at denx.de
Thu Feb 25 18:55:35 CET 2016


On 02/25/2016 03:41 AM, Alison Wang wrote:
> In general, a carriage return needs to execute before a line feed.
> The patch is to change some serial drivers based on this rule, such
> as serial_mxc.c, serial_pxa.c, serial_s3c24x0.c and usbtty.c.
> 
> Signed-off-by: Alison Wang <alison.wang at nxp.com>

Why isn't this CR-LF stuff handled in common code instead ? It'd be much
better than having billion copies of the exact same logic (some of them
more buggy than the others) in drivers.



More information about the U-Boot mailing list