[PATCH] serial: mxc: Speed-up character transmission

Loic Poulain loic.poulain at linaro.org
Tue Jan 10 13:21:16 CET 2023


Hi Lothar,

On Tue, 10 Jan 2023 at 07:46, Lothar Waßmann <LW at karo-electronics.de> wrote:

> A previous attempt to do this in:
> |commit c7878a0483c59c48a730123bc0f4659fd40921bf
> |Author: Johannes Schneider <johannes.schneider at leica-geosystems.com>
> |Date:   Tue Sep 6 14:15:04 2022 +0200
> |
> |    serial: mxc: have putc use the TXFIFO
>
> has been reverted in:
> |commit fc1c1760de38823edbdc2cdd9606dff938a07f6e
> |Author: Fabio Estevam <festevam at denx.de>
> |Date:   Tue Nov 8 08:39:33 2022 -0300
> |
> |    Revert "serial: mxc: have putc use the TXFIFO"
> |
> |    This reverts commit c7878a0483c59c48a730123bc0f4659fd40921bf.
> |
> |    Since commit c7878a0483c5 ("serial: mxc: have putc use the TXFIFO"),
> |    serial console corruption can be seen when priting inside board_init().

Thanks for highlighting this. Looked at it and reproduced some sort of
corruption in board_init() as well, which seems due to
reinitialization of the UART while TX is not complete. I'm going to
follow up with a V2, including a fix for this.

Regards,
Loic


More information about the U-Boot mailing list