]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: a3720: Implement pending method for output direction
authorPali Rohár <pali@kernel.org>
Thu, 14 Jan 2021 14:46:35 +0000 (15:46 +0100)
committerStefan Roese <sr@denx.de>
Wed, 27 Jan 2021 12:12:51 +0000 (13:12 +0100)
commitaea2f721051037ea673a726856bcc15ecebf2389
treea1ee1c768bddd8b29ec0a7f7701235a10ac6ece9
parentba8ae03eabfd41ecba5ab8000c54666dc6b9f89e
serial: a3720: Implement pending method for output direction

To check if some output characters are waiting either in Transmitter
Holding Register or Transmitter Shift Register we need to look at
TX_EMPTY bit of UART Status Register.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/serial/serial_mvebu_a3700.c