]> git.dujemihanovic.xyz Git - u-boot.git/commit
blk: Switch over to using uclass IDs
authorSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2022 01:34:59 +0000 (19:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2022 15:05:16 +0000 (11:05 -0400)
commite33a5c6be55e7c012b2851f9bdf90e7f607e72bf
tree19041e9f1b54a5d2811c96e88132ba44fe31243b
parentadbfe8edc3389ba635229195a95217d8b0dfa182
blk: Switch over to using uclass IDs

We currently have an if_type (interface type) and a uclass id. These are
closely related and we don't need to have both.

Drop the if_type values and use the uclass ones instead.

Maintain the existing, subtle, one-way conversion between UCLASS_USB and
UCLASS_MASS_STORAGE for now, and add a comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
41 files changed:
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
board/toradex/common/tdx-cfg-block.c
cmd/bcb.c
cmd/ide.c
cmd/mmc.c
cmd/mvebu/bubt.c
cmd/nvme.c
cmd/pvblock.c
cmd/sata.c
cmd/scsi.c
cmd/usb.c
cmd/virtio.c
common/spl/spl_sata.c
common/spl/spl_usb.c
common/usb_storage.c
disk/part.c
doc/develop/uefi/uefi.rst
drivers/ata/dwc_ahsata.c
drivers/ata/fsl_sata.c
drivers/ata/sata.c
drivers/ata/sata_mv.c
drivers/ata/sata_sil.c
drivers/block/blk-uclass.c
drivers/block/efi_blk.c
drivers/block/ide.c
drivers/block/sandbox.c
drivers/dfu/dfu_mmc.c
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc_legacy.c
drivers/mmc/mmc_write.c
drivers/nvme/nvme.c
drivers/scsi/scsi.c
drivers/tee/optee/rpmb.c
drivers/virtio/virtio_blk.c
drivers/xen/pvblock.c
env/mmc.c
include/blk.h
include/mmc.h
lib/efi_driver/efi_block_device.c
lib/efi_loader/efi_disk.c
test/dm/blk.c