u-boot/common
Jean-Jacques Hiblot 4e27b9a584 dm: scsi: fix divide-by-0 error in scsi_scan()
With DM_SCSI enabled, blk_create_devicef() is called with blkz = 0, leading
to a divide-by-0 exception.
scsi_detect_dev() can be used to get the required parameters (block size
and number of blocks) from the drive before calling blk_create_devicef().

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-04-14 19:38:57 -06:00
..
eeprom
init
spl spl: net: Add FIT image support over network boot 2017-04-08 21:35:08 -04:00
autoboot.c
bedbug.c
board_f.c board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
board_info.c
board_r.c board_f: Make init_helpers generic 2017-04-05 16:36:56 -04:00
bootm.c
bootm_os.c
bootretry.c
bootstage.c
bouncebuf.c
cli.c
cli_hush.c
cli_readline.c
cli_simple.c
command.c
console.c
cros_ec.c
ddr_spd.c
dfu.c
dlmalloc.c
dlmalloc.src
edid.c
env_attr.c
env_callback.c
env_common.c Rename aes.h to uboot_aes.h 2017-04-12 13:28:27 -04:00
env_dataflash.c
env_eeprom.c
env_embedded.c
env_ext4.c
env_fat.c
env_flags.c env: split fw_env.h in public and private parts 2017-04-12 13:28:28 -04:00
env_flash.c
env_mmc.c env_mmc: Allow SPL to use any MMC device to load/save the environment 2017-04-08 09:26:44 -04:00
env_nand.c
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sata.c
env_sf.c
env_ubi.c
exports.c
fb_mmc.c
fb_nand.c
fdt_support.c fdt_support: Fixup 'ethernet' aliases not ending in digits 2017-03-26 09:58:23 -05:00
flash.c
hash.c
hwconfig.c
ide.c
image-android.c
image-fdt.c Remove extra fdt_fixup_ethernet() call 2017-04-08 09:26:50 -04:00
image-fit.c
image-sig.c
image-sparse.c
image.c
iomux.c
iotrace.c
kallsyms.c
Kconfig Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2017-04-08 09:28:02 -04:00
kgdb.c
kgdb_stubs.c
lcd.c
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c
lynxkdi.c
main.c
Makefile
malloc_simple.c
memsize.c
menu.c
miiphyutil.c
s_record.c
sata.c
scsi.c dm: scsi: fix divide-by-0 error in scsi_scan() 2017-04-14 19:38:57 -06:00
splash.c
splash_source.c
stdio.c
system_map.c
update.c
usb.c
usb_hub.c
usb_kbd.c
usb_storage.c usb: return 0 from usb_stor_get_info even if removable media 2017-04-14 16:44:17 +02:00
xyzModem.c common/xyzModem.c: Do not use hard-coded address for debug buffer 2017-04-08 09:26:55 -04:00