
12 Jan
2023
12 Jan
'23
7:30 p.m.
On Thu, Jan 12, 2023 at 2:52 PM Fabio Estevam festevam@gmail.com wrote:
On Thu, Jan 12, 2023 at 2:19 PM Loic Poulain loic.poulain@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@linaro.org Tested-by: Lothar Waßmann LW@KARO-electronics.de Acked-by: Pali Rohár pali@kernel.org
Reviewed-by: Fabio Estevam festevam@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@denx.de
Nice work, Loic!