[PATCH 2/2] serial: lpuart: handle Overrun flag

Peng Fan (OSS) peng.fan at oss.nxp.com
Wed Feb 25 03:24:32 CET 2026


> Subject: [PATCH 2/2] serial: lpuart: handle Overrun flag
> 
> The receive FIFO may overflow if data are sent while U-Boot is still
> booting. In that case, the Overrun flag (STAT[19]) is set and no
> additional data is stored in the receive FIFO and the user cannot get
> access to the U-Boot prompt.
> 
> Fix this by clearing the Overrun flag in _lpuart32_serial_tstc()
> 
> Signed-off-by: Sébastien Szymanski
> <sebastien.szymanski at armadeus.com>

LGTM: Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list