]> git.baikalelectronics.ru Git - uboot.git/commit
serial: mxc: Speed-up character transmission
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 12 Jan 2023 17:19:51 +0000 (18:19 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 22:23:02 +0000 (23:23 +0100)
commit2377be405195577eccb901df33636a6d9b3245c7
tree0521c3d7fe69748fc989894d037d1689b68231ba
parentac01204d940022ba6dc978e7e1fa832d1615a225
serial: mxc: Speed-up character transmission

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>
Tested-by: Fabio Estevam <festevam@denx.de>
drivers/serial/serial_mxc.c