Files
u-boot-sunxi/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
..
2015-08-03 12:06:38 -07:00
2015-07-27 15:53:52 -07:00
2015-04-10 14:23:23 +02:00
2015-05-26 14:13:12 +02:00
2015-07-28 11:56:28 +02:00
2015-07-21 17:39:29 -06:00
2015-07-21 17:39:29 -06:00