]> git.sur5r.net Git - u-boot/commit
block: pass block dev not num to read/write/erase()
authorStephen Warren <swarren@nvidia.com>
Mon, 7 Dec 2015 18:38:48 +0000 (11:38 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jan 2016 02:05:18 +0000 (21:05 -0500)
commit7c4213f6a52f35ff6ba2d97aa4eb04cbfc963b86
tree8dfb6b9f5721891de191bad798b0533e3a0bf69a
parentadc421e4cee8275cd99367b3b455ffbb5ead3990
block: pass block dev not num to read/write/erase()

This will allow the implementation to make use of data in the block_dev
structure beyond the base device number. This will be useful so that eMMC
block devices can encompass the HW partition ID rather than treating this
out-of-band. Equally, the existence of the priv field is crying out for
this patch to exist.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
41 files changed:
api/api_storage.c
board/freescale/common/sdhc_boot.c
board/gdsys/p1022/controlcenterd-id.c
board/gdsys/p1022/sdhc_boot.c
common/cmd_disk.c
common/cmd_ide.c
common/cmd_mmc.c
common/cmd_read.c
common/cmd_sata.c
common/cmd_scsi.c
common/cmd_usb.c
common/cmd_usb_mass_storage.c
common/env_mmc.c
common/fb_mmc.c
common/spl/spl_mmc.c
common/usb_storage.c
disk/part_amiga.c
disk/part_dos.c
disk/part_efi.c
disk/part_iso.c
disk/part_mac.c
drivers/block/sandbox.c
drivers/block/systemace.c
drivers/dfu/dfu_mmc.c
drivers/mmc/fsl_esdhc_spl.c
drivers/mmc/mmc.c
drivers/mmc/mmc_private.h
drivers/mmc/mmc_write.c
drivers/mmc/sunxi_mmc.c
drivers/net/fm/fm.c
drivers/net/phy/cortina.c
fs/ext4/dev.c
fs/ext4/ext4_common.c
fs/fat/fat.c
fs/fat/fat_write.c
fs/reiserfs/dev.c
fs/zfs/dev.c
include/ide.h
include/part.h
lib/gunzip.c
test/dm/usb.c