u-boot/drivers/serial
Neil Armstrong 812196d53e serial: meson: handle RX errors
This checks and handles RX errors on the Amlogic UART controller
after experiencing errors on the Khadas VIM3 & VIM3L when UART AO A
lines are not connected.

When the RX line is not connected, the first byte is erroneous and breaks
the U-Boot autoboot, breaking automatic boot.

This checks and drops any erroneous RX byte on pending and getc callbacks
to avoid returning true to pending when an error byte is in the FIFO.

Fixes: bfcef28ae4 ("arm: add initial support for Amlogic Meson and ODROID-C2")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Guillaume La Roque <glaroque@baylibre.com>
2020-07-27 16:35:56 +02:00
..
altera_jtag_uart.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
altera_uart.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
arm_dcc.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
atmel_usart.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
atmel_usart.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig serial: Fix SIFIVE debug serial dependency 2020-07-24 14:56:04 +08:00
lpc32xx_hsuart.c common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
Makefile serial: mcfuart: renaming to a more appropriate name 2020-03-13 09:29:50 -04:00
ns16550.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
sandbox.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
serial-uclass.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
serial.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
serial_ar933x.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_arc.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_bcm283x_mu.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_bcm283x_pl011.c arm: bcm283x: serial: Move ofdata reading to probe() method 2020-05-12 10:59:12 +02:00
serial_bcm6345.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
serial_coreboot.c x86: serial: Add a coreboot serial driver 2020-02-04 01:19:25 +08:00
serial_cortina.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_efi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_intel_mid.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_linflexuart.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_lpuart.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_mcf.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_meson.c serial: meson: handle RX errors 2020-07-27 16:35:56 +02:00
serial_mpc8xx.c drivers: serial: get rid of non DM mpc8xx driver 2018-12-03 10:44:10 -05:00
serial_msm.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_mtk.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_mvebu_a3700.c serial: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
serial_mxc.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_ns16550.c common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
serial_nulldev.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_omap.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_owl.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_pic32.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_pl01x.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_pl01x_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial_pxa.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
serial_rockchip.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
serial_s5p.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_sh.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_sh.h sh: sh3: Remove CPU support 2019-05-10 22:43:18 +02:00
serial_sifive.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial_sti_asc.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_stm32.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_stm32.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
serial_uniphier.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_xuartlite.c Revert "Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm" 2020-07-24 08:42:06 -04:00
serial_zynq.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
usbtty.c serial: usb: Correct the usbtty_...() prototypes 2019-12-02 18:23:10 -05:00
usbtty.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00