uboot/common
Tom Rini 4cc9699be7 common: env_nand: Ensure that we have nand_info[0] prior to use
Now that nand_info[] is an array of pointers we need to ensure that it's
been populated prior to use.  We may for example have ENV in NAND set in
configurations that run on boards with and without NAND (where default
env is fine enough, such as omap3_beagle and beagleboard (NAND) vs
beagle xM (no NAND)).

Fixes: b616d9b0a7 ("nand: Embed mtd_info in struct nand_chip")
Cc: Scott Wood <oss@buserror.net>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Scott Wood <oss@buserror.net>
2016-08-15 18:46:41 -04:00
..
eeprom
init bootstage: call show_boot_progress also in SPL 2016-06-09 13:53:08 -04:00
spl spl_nor.c: Support devicetree sizes different from 16k 2016-08-08 13:32:52 -04:00
Kconfig Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig 2016-07-22 14:06:11 +02:00
Makefile hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER 2016-06-24 17:24:34 -04:00
autoboot.c autoboot: move bootdelay >= 0 check to abortboot() 2016-07-01 17:42:56 -04:00
bedbug.c
board_f.c xtensa: add support for the xtensa processor architecture [1/2] 2016-08-15 18:46:38 -04:00
board_info.c
board_r.c
bootm.c bootm: fixup silent Linux out of BOOTM_STATE_LOADOS state 2016-07-14 18:22:44 -04:00
bootm_os.c sandbox: Don't exit when bootm completes 2016-07-14 18:22:32 -04:00
bootretry.c
bootstage.c
bouncebuf.c
cli.c hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER 2016-06-24 17:24:34 -04:00
cli_hush.c
cli_readline.c
cli_simple.c
command.c
console.c
cros_ec.c
ddr_spd.c
dlmalloc.c
dlmalloc.src
edid.c
env_attr.c
env_callback.c
env_common.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
env_dataflash.c
env_eeprom.c
env_embedded.c
env_ext4.c common: Fix support for environment file in EXT4 2016-06-24 17:24:35 -04:00
env_fat.c
env_flags.c
env_flash.c
env_mmc.c
env_nand.c common: env_nand: Ensure that we have nand_info[0] prior to use 2016-08-15 18:46:41 -04:00
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sata.c
env_sf.c dm: spi: Read default speed and mode values from DT 2016-07-09 20:16:34 +05:30
env_ubi.c common: env_ubi: Clear environment buffer before reading 2016-06-13 06:41:20 +02:00
exports.c
fb_mmc.c common: block: fix compiler error with CONFIG_FASTBOOT_FLASH_MMC_DEV 2016-07-11 14:06:44 -06:00
fb_nand.c fastboot: sparse: implement reserve() 2016-06-27 16:37:39 -04:00
fdt_support.c fdt_support: fdt_translate_address() blob const correctness 2016-08-12 09:20:27 -06:00
flash.c
hash.c
hwconfig.c
ide.c
image-android.c common: image: minimal android image iminfo support 2016-06-24 17:23:07 -04:00
image-fdt.c libfdt: Introduce new ARCH_FIXUP_FDT option 2016-07-31 19:37:08 -06:00
image-fit.c common: image: Add support for post-processing of images 2016-08-12 09:22:18 -04:00
image-sig.c
image-sparse.c fastboot: sparse: improve CHUNK_TYPE_FILL write performance 2016-06-27 16:37:39 -04:00
image.c xtensa: add support for the xtensa processor architecture [1/2] 2016-08-15 18:46:38 -04:00
iomux.c
iotrace.c
kallsyms.c
kgdb.c
kgdb_stubs.c
lcd.c
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c
lynxkdi.c
main.c
malloc_simple.c
memsize.c
menu.c
miiphyutil.c net: mii: Clean up legacy glue that is not used 2016-08-15 15:29:04 -05:00
s_record.c
sata.c
scsi.c
splash.c splash: Introduce default_splash_locations 2016-07-26 08:47:37 +02:00
splash_source.c splash: Accommodate DM_USB in splash_init_usb() 2016-07-25 22:42:10 +02:00
stdio.c
system_map.c
update.c
usb.c
usb_hub.c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
usb_kbd.c
usb_storage.c
xyzModem.c