[PATCH 0/2] vf610: fix GPIO output and console input

Mehmet Fide <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
From: Mehmet Fide <[email protected]>

Two independent vf610 fixes found while moving a Colibri VF50 product from
the Toradex 2015.04 fork to mainline U-Boot.

Both are long standing and both fail silently, which is why they are easy
to miss: the gpio command reports success on a pin whose level never
changes, and the console keeps printing while it accepts no input at all.
On a current mainline the module therefore drives no GPIO and cannot have
its autoboot interrupted.

Tested on a Colibri VF50 (vf610, VF500 SoC) booting from NAND, with the
display reset, data/command and backlight lines on GPIOs and the console on
UART0.

Mehmet Fide (2):
  gpio: vybrid: read and write the GPIO block, not the PORT block
  serial: lpuart: test the receive flag, not the FIFO counter

 drivers/gpio/vybrid_gpio.c     | 8 +++++++-
 drivers/serial/serial_lpuart.c | 9 +++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.