[PATCH v4 2/2] serial: mxc: Speed-up character transmission

Fabio Estevam festevam at gmail.com
Thu Jan 12 19:30:50 CET 2023


On Thu, Jan 12, 2023 at 2:52 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> On Thu, Jan 12, 2023 at 2:19 PM Loic Poulain <loic.poulain at linaro.org> wrote:
> >
> > Instead of waiting for empty FIFO condition before writing a
> > character, wait for non-full FIFO condition.
> >
> > This helps in saving several tens of milliseconds during boot
> > (depending verbosity).
> >
> > Signed-off-by: Loic Poulain <loic.poulain at linaro.org>
> > Tested-by: Lothar Waßmann <LW at KARO-electronics.de>
> > Acked-by: Pali Rohár <pali at kernel.org>
>
> Reviewed-by: Fabio Estevam <festevam at denx.de>

Also tested on an imx8mm-evk board by printing inside board_init().

No more corruption is seen like the one we observed during Johannes'
attempt last time:

Tested-by: Fabio Estevam <festevam at denx.de>

Nice work, Loic!


More information about the U-Boot mailing list