u-boot/drivers/serial
Simon Glass e4d6ab0c2c x86: Allow use of serial soon after relocation
At present on x86 machines with use cache-as-RAM, the memory goes away just
before board_init_r() is called. This means that serial drivers are
no-longer unavailable, until initr_dm() it called, etc.

Any attempt to use printf() within this period will cause a hang.

To fix this, mark the serial devices as 'unavailable' when it is no-longer
available. Bring it back when serial_initialize() is called. This means that
the debug UART will be used instead for this period.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2016-03-17 10:27:24 +08:00
..
altera_jtag_uart.c altera_jtag_uart: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
altera_uart.c altera_uart: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
arm_dcc.c serial: dcc: Move driver to DM 2016-02-25 19:06:37 -05: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 serial: dcc: Move driver to DM 2016-02-25 19:06:37 -05:00
lpc32xx_hsuart.c serial: lpc32xx hsuart: port driver to driver model 2016-01-13 21:05:22 -05:00
Makefile stm32x7: add support for stm32x7 serial driver 2016-02-24 18:43:54 -05:00
mcfuart.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ns16550.c Revert "dm: ns16550: Add support for reg-offset property" 2016-02-29 10:26:20 -05:00
sandbox.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
serial-uclass.c x86: Allow use of serial soon after relocation 2016-03-17 10:27:24 +08:00
serial.c Fix typo: firstly -> first. 2015-12-05 18:22:23 -05:00
serial_arc.c dm: serial: Remove duplicated carriage return character 2016-03-14 15:34:50 -06:00
serial_bfin.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
serial_efi.c debug_uart: Adjust the declaration of debug_uart_init() 2015-10-21 07:46:50 -06:00
serial_lpuart.c dm: serial: Remove duplicated carriage return character 2016-03-14 15:34:50 -06:00
serial_mxc.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
serial_ns16550.c serial: Remove serial_putc_raw_dev 2016-01-25 10:39:45 -05:00
serial_pic32.c drivers: serial: add driver for Microchip PIC32 UART controller. 2016-02-01 22:14:00 +01:00
serial_pl01x.c arm: serial: Add debug UART capability to the pl01x driver 2016-01-19 22:25:22 +00:00
serial_pl01x_internal.h dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
serial_pxa.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
serial_s3c24x0.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
serial_s5p.c debug_uart: Adjust the declaration of debug_uart_init() 2015-10-21 07:46:50 -06:00
serial_sh.c serial: sh: Remove invalid UTF-8 character 2015-02-25 13:53:28 +09:00
serial_sh.h serial: serial-sh: SCIFA interface for R-Car Gen2 SoCs 2015-08-31 17:31:26 +09:00
serial_stm32.c serial: serial_stm32: move clock config from driver to board 2016-02-08 10:10:36 -05:00
serial_stm32x7.c stm32x7: add support for stm32x7 serial driver 2016-02-24 18:43:54 -05:00
serial_stm32x7.h stm32x7: add support for stm32x7 serial driver 2016-02-24 18:43:54 -05:00
serial_uniphier.c serial: uniphier: drop platform data support 2015-08-31 00:28:46 +09:00
serial_xuartlite.c serial: uartlite: Add support for debug console 2016-01-27 15:55:49 +01:00
serial_zynq.c serial: zynq: Change logic in putc 2016-02-22 16:21:04 +01:00
usbtty.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
usbtty.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00