uboot/common
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
..
init
spl spl_nor: fix warning when compiled for 64bit target 2016-03-15 21:30:20 -04:00
Kconfig
Makefile fdt: Allow libfdt to be used in SPL 2016-03-14 19:18:26 -04:00
autoboot.c
bedbug.c
board_f.c x86: Allow use of serial soon after relocation 2016-03-17 10:27:24 +08:00
board_info.c
board_r.c dm: timer: Correct timer init ordering after relocation 2016-03-17 10:27:24 +08:00
bootm.c fdt: Allow libfdt to be used in SPL 2016-03-14 19:18:26 -04:00
bootm_os.c
bootretry.c
bootstage.c
bouncebuf.c
cli.c
cli_hush.c hush: Add rudimentary support for PS1 and PS2 2016-02-08 10:10:37 -05:00
cli_readline.c
cli_simple.c
command.c
console.c dm: video: Add a temporary work-around for old stdout var 2016-02-11 21:37:17 +01:00
cros_ec.c
ddr_spd.c
dlmalloc.c malloc: remove !gd handling 2016-03-08 15:01:47 -05:00
dlmalloc.src
edid.c
env_attr.c
env_callback.c
env_common.c
env_dataflash.c
env_eeprom.c
env_embedded.c
env_ext4.c common: Add support for environment file in EXT4. 2016-03-14 14:18:39 -04:00
env_fat.c dm: block: Rename device number member dev to devnum 2016-03-14 15:34:50 -06:00
env_flags.c tools: fix env_flags build 2016-02-15 20:58:25 +00:00
env_flash.c
env_mmc.c
env_nand.c
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sf.c
env_ubi.c
exports.c
fb_mmc.c dm: block: Adjust device calls to go through helpers function 2016-03-14 15:34:50 -06:00
fb_nand.c
fdt_support.c
flash.c
hash.c
hwconfig.c
image-android.c
image-fdt.c efi_loader: Call fdt preparation functions 2016-03-15 21:30:14 -04:00
image-fit.c common: image-fit: Fix load and entry addresses in FIT image 2016-03-14 19:18:41 -04:00
image-sig.c
image-sparse.c
image.c image: Add functions to obtain short names 2016-03-14 19:18:28 -04:00
iomux.c
iotrace.c
kallsyms.c
kgdb.c
kgdb_stubs.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
lcd.c
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c
lynxkdi.c
main.c Remove unused CONFIG_MODEM_SUPPORT option and associated dead code. 2016-02-08 10:22:44 -05:00
malloc_simple.c malloc_simple: Add a little more debugging 2016-03-17 10:27:23 +08:00
memsize.c Revert "common/memsize.c: Simplify RAM size detection" 2016-02-10 08:34:42 -05:00
menu.c
miiphyutil.c
s_record.c
splash.c
splash_source.c
stdio.c
system_map.c
update.c
usb.c
usb_hub.c
usb_kbd.c
usb_storage.c dm: usb: Convert USB storage to use driver-model for block devs 2016-03-14 15:34:50 -06:00
xyzModem.c lib/crc16.c: Rename cyg_crc16() to crc16_ccitt() and add crc start value 2016-03-14 19:18:42 -04:00