u-boot/drivers/serial
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
..
altera_jtag_uart.c nios2: divide nios2-io.h into each specific drivers and remove it 2014-08-30 17:48:43 +08:00
altera_uart.c nios2: divide nios2-io.h into each specific drivers and remove it 2014-08-30 17:48:43 +08:00
arm_dcc.c arm: dcc: Add uart dcc support for armv8 2015-07-07 11:39:39 +02:00
atmel_usart.c dm: at91: Add driver model support for the serial driver 2014-11-21 08:09:58 +01:00
atmel_usart.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig sandbox: Move CONFIG_SANDBOX_SERIAL to Kconfig 2015-06-10 19:26:55 -06:00
lpc32xx_hsuart.c serial: lpc32xx: send CR before LF 2013-12-13 09:14:34 -05:00
Makefile stm32f4: Add serial driver 2015-04-22 12:14:55 -04:00
mcfuart.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxs_auart.c serial: mxs_auart: Staticize local functions 2013-11-08 15:25:13 -05:00
ns16550.c ns16550: Improve debug UART so it can work with 32-bit access 2015-07-21 17:39:28 -06:00
opencores_yanu.c serial: move nios2-yanu.h into opencores_yanu driver 2014-08-30 17:48:43 +08:00
sandbox.c sandbox: serial: Support a coloured console 2014-09-10 13:00:00 -06:00
serial_arc.c serial-arc: switch to DM 2015-04-03 09:47:49 +03:00
serial_bfin.c blackfin: Move blackfin serial driver out of blackfin arch folder. 2013-05-13 16:30:26 +08:00
serial_dw.c dm: sunxi: Add support for serial using driver model 2014-11-05 13:09:58 +01:00
serial_imx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_lpuart.c Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-09-17 18:01:04 -04:00
serial_max3100.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_mxc.c dm: move platform data headers to include/dm/platform_data 2014-10-23 21:43:07 -06:00
serial_ns16550.c serial: add static directive to local functions 2014-10-23 21:43:08 -06:00
serial_omap.c dm: omap: serial: Add driver model support 2014-10-23 19:29:07 -06:00
serial_pl01x_internal.h dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
serial_pl01x.c serial: fdt: add device tree support for pl01x 2015-05-10 09:59:37 -04:00
serial_ppc.c powerpc: Add serial driver for driver model 2015-02-12 10:35:31 -07:00
serial_pxa.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_s3c24x0.c serial: add static directive to local functions 2014-10-23 21:43:08 -06:00
serial_s5p.c dm: exynos: Move serial to driver model 2014-10-22 10:36:45 -06:00
serial_sa1100.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_sh.c serial: sh: Remove invalid UTF-8 character 2015-02-25 13:53:28 +09:00
serial_sh.h serial: sh: fix internal clock source on SCIF 2015-02-25 13:53:37 +09:00
serial_stm32.c Revert "Revert "stm32f4: fix serial output"" 2015-05-27 13:24:10 -04:00
serial_tegra.c dm: tegra: Add platform data for the SPL uart 2014-11-21 08:14:02 +01:00
serial_uniphier.c ARM: UniPhier: replace <asm/io.h> with <linux/io.h> 2015-05-31 02:53:56 +09:00
serial_x86.c x86: Use ePAPR defined properties for x86-uart 2015-01-13 07:24:57 -08:00
serial_xuartlite.c serial: uartlite: Reset RX/TX in init 2014-02-04 16:48:57 +01:00
serial_zynq.c serial: zynq: Add support for slow emulation platform 2015-04-29 11:19:01 +02:00
serial-uclass.c dm: serial: Correct logic in serial_find_console_or_panic() 2015-08-05 08:42:40 -06:00
serial.c stm32f4: Add serial driver 2015-04-22 12:14:55 -04:00
usbtty.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
usbtty.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00