u-boot-2016/cmd
Tony Lindgren 1cfce74fe5 nand: Fix set_dev checks for no device
If we do nand device 0 command in u-boot on a device that has NAND support
enabled but no NAND chip, we can get data abort at least on omaps.

Fix the issue by replacing the check with nand_info[dev] as
suggested by Scott Wood. The check for name existed before because before
the array-to-pointer conversion there was no way to directly test
nand_info[dev] for emptiness.

Signed-off-by: Tony Lindgren <tony@atomide.com>
2016-08-26 17:04:58 -04:00
..
fastboot fastboot: implement Kconfig 2016-08-20 14:03:23 -04:00
aes.c
ambapp.c
armflash.c
bdinfo.c x86: bdinfo: Drop meaningless values 2016-08-16 11:44:09 +08:00
bedbug.c
blkcache.c
blob.c crypto/fsl: Update blob cmd to accept 64bit addresses 2016-08-02 09:45:39 -07:00
bmp.c
boot.c
bootefi.c cmd: efi_loader: Return CMD_RET_USAGE in case of not enough arguments 2016-08-20 11:35:09 -04:00
booti.c cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
bootldr.c
bootm.c cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
bootmenu.c
bootstage.c
bootz.c cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
cache.c
cbfs.c
clk.c
console.c
cplbinfo.c
cpu.c
cramfs.c
dataflash_mmc_mux.c
date.c
dcr.c
demo.c
dfu.c
diag.c
disk.c
display.c
dtt.c
echo.c
eeprom.c
efi.c
elf.c
ethsw.c
exit.c
ext2.c
ext4.c
fastboot.c
fat.c
fdc.c
fdt.c cmd: fdt: add fdt overlay application subcommand 2016-08-20 11:35:05 -04:00
fitupd.c
flash.c
fpga.c
fpgad.c
fs.c
fs_uuid.c
fuse.c
gettime.c
gpio.c
gpt.c cmd: gpt: fix the wrong size parse for the last partition 2016-08-05 20:55:16 -04:00
hash.c
help.c
host.c
i2c.c
ide.c
immap.c
ini.c
io.c
iotrace.c
irq.c
itest.c
jffs2.c
Kconfig fastboot: implement Kconfig 2016-08-20 14:03:23 -04:00
ldrinfo.c
led.c
license.c
load.c
log.c
lzmadec.c
mac.c
Makefile cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
md5sum.c
mdio.c
mem.c
mfsl.c
mii.c
misc.c
mmc.c
mmc_spi.c
mp.c
mtdparts.c
nand.c nand: Fix set_dev checks for no device 2016-08-26 17:04:58 -04:00
net.c
nvedit.c
onenand.c
otp.c
part.c
pci.c
pcmcia.c
pmic.c
portio.c
pxe.c
qfw.c
read.c
reginfo.c
regulator.c
reiser.c
remoteproc.c
sata.c
scsi.c
setexpr.c
sf.c
sha1sum.c
softswitch.c
sound.c
source.c
spi.c
spibootldr.c
spl.c
strings.c
terminal.c
test.c
thordown.c
time.c
tpm.c
tpm_test.c
trace.c
tsi148.c
ubi.c
ubifs.c
universe.c
unzip.c
usb.c
usb_mass_storage.c dm: usb: Use blk_dread/write() instead of direct calls 2016-07-27 14:15:54 -06:00
version.c
ximg.c
yaffs2.c
zfs.c
zip.c