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
