[PATCH v4 1/2] serial: mxc: Wait for TX completion before reset

2023-01-31 Thread sbabic
> The u-boot console may show some corrupted characters when > printing in board_init() due to reset or baudrate change > of the UART (probe) before the TX FIFO has been completely > drained. > To fix this issue, and in case UART is still running, we now > try to flush the FIFO before proceeding to

Re: [PATCH v4 1/2] serial: mxc: Wait for TX completion before reset

2023-01-12 Thread Fabio Estevam
On Thu, Jan 12, 2023 at 2:19 PM Loic Poulain wrote: > > The u-boot console may show some corrupted characters when > printing in board_init() due to reset or baudrate change > of the UART (probe) before the TX FIFO has been completely > drained. > > To fix this issue, and in case UART is still run

Re: [PATCH v4 1/2] serial: mxc: Wait for TX completion before reset

2023-01-12 Thread Pali Rohár
On Thursday 12 January 2023 18:19:50 Loic Poulain wrote: > The u-boot console may show some corrupted characters when > printing in board_init() due to reset or baudrate change > of the UART (probe) before the TX FIFO has been completely > drained. > > To fix this issue, and in case UART is still

[PATCH v4 1/2] serial: mxc: Wait for TX completion before reset

2023-01-12 Thread Loic Poulain
The u-boot console may show some corrupted characters when printing in board_init() due to reset or baudrate change of the UART (probe) before the TX FIFO has been completely drained. To fix this issue, and in case UART is still running, we now try to flush the FIFO before proceeding to UART reini