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 dm: core: Check for empty list in uclass_find_device() 2015-08-05 08:42:40 -06:00
cpu
crypto drivers/crypto/fsl: clean-up - use fdt_setprop_u32 helper 2015-08-03 12:06:38 -07:00
ddr drivers/ddr/fsl: Adjust bstopre value 2015-08-03 12:06:38 -07:00
demo
dfu
dma
fpga
gpio
hwmon
i2c
input
led
memory
misc
mmc fsl_esdhc.c: Always make check_and_invalidate_dcache_range available 2015-08-02 10:27:52 -04:00
mtd
net drivers/fsl-mc: flib changes for mc 8.0.0 2015-08-03 12:06:37 -07:00
pci x86: Sanity test on vesa parameters before setting up kernel screen_info 2015-08-05 08:42:38 -06:00
pcmcia
power
pwm
qe driver/qe: use strncpy instead of strcpy 2015-08-03 12:06:36 -07:00
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