aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-07-21 13:41:14 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2020-07-27 16:35:56 +0200
commit812196d53eb23509a392e1a3b7f09f59d887228c (patch)
tree78550cd2724a2f85eec3caa07a4a130b445b746b /configs
parent3773028fced4795d52f02b387496395ec387f3bb (diff)
downloadu-boot-812196d53eb23509a392e1a3b7f09f59d887228c.zip
u-boot-812196d53eb23509a392e1a3b7f09f59d887228c.tar.gz
u-boot-812196d53eb23509a392e1a3b7f09f59d887228c.tar.bz2
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>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions