rv1126-uboot/drivers
Simon Glass 753812cb2e dm: serial: Correct logic in serial_find_console_or_panic()
In a final attempt to find a console UART this function uses the first
first available serial device. However the check for a valid device is
inverted.

This code is only executed when there is in fact no serial UART, but at
present it can fail to reach the panic_str() call in this case, and start
trying to use a non-existent UART.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2015-08-05 08:42:40 -06:00
..
bios_emulator
block
bootcount
clk
core
cpu
crypto
ddr
demo
dfu
dma
fpga
gpio
hwmon
i2c
input
led
memory
misc
mmc
mtd
net
pci
pcmcia
power
pwm
qe
ram
rtc
serial dm: serial: Correct logic in serial_find_console_or_panic() 2015-08-05 08:42:40 -06:00
soc
sound
spi
thermal
tpm
twserial
usb
video
watchdog
Kconfig
Makefile