diff options
| author | Tom Rini <[email protected]> | 2022-11-14 07:29:51 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-11-14 09:33:36 -0500 |
| commit | c4ee4fe92e9be120be6d12718273dec6b63cc7d9 (patch) | |
| tree | 31d45f462b8b4b85f525308a22e0bebb9f80f27c /drivers/serial | |
| parent | fac432652f38724994a99c2613183fc04534a2cd (diff) | |
| parent | fc1c1760de38823edbdc2cdd9606dff938a07f6e (diff) | |
Merge tag 'u-boot-imx-20221114' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
For 2022.01
-----------
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/14083
- Fix UART
- moved to binman (MX8 boards)
- Toradex: sync DTS with Linux
- Gateworks: fixes
- New boards : MSC SM2S iMX8MP
Diffstat (limited to 'drivers/serial')
| -rw-r--r-- | drivers/serial/serial_mxc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c index 4cf79c1ca24..82c0d84628d 100644 --- a/drivers/serial/serial_mxc.c +++ b/drivers/serial/serial_mxc.c @@ -311,7 +311,7 @@ static int mxc_serial_putc(struct udevice *dev, const char ch) struct mxc_serial_plat *plat = dev_get_plat(dev); struct mxc_uart *const uart = plat->reg; - if (readl(&uart->ts) & UTS_TXFULL) + if (!(readl(&uart->ts) & UTS_TXEMPTY)) return -EAGAIN; writel(ch, &uart->txd); |
