]> git.dujemihanovic.xyz Git - u-boot.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)
commitad725073d1666d94a96fbf9cba03777c3d58de24
tree0521c3d7fe69748fc989894d037d1689b68231ba
parent7150f56a85fd8d3b8ad162621026b0ba7bb6a367
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