]> git.dujemihanovic.xyz Git - u-boot.git/commit
blk: Rename HAVE_BLOCK_DEVICE
authorSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2022 01:34:48 +0000 (19:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2022 15:05:16 +0000 (11:05 -0400)
commit7f8967c2b82f9917987b69fbf43f8f591f3a8516
tree952913642a31420f44746abc3f734e4fea04d1c5
parent14d2c5d819bb9f011b518c5394af90c3d8e0d17f
blk: Rename HAVE_BLOCK_DEVICE

This option is fact really related to SPL. For U-Boot proper we always use
driver model for block devices, so CONFIG_BLK is enabled if block devices
are in use.

It is only for SPL that we have two cases:

- SPL_BLK is enabled, in which case we use driver model and blk-uclass.c
- SPL_BLK is not enabled, in which case (if we need block devices) we must
  use blk_legacy.c

Rename the symbol to SPL_LEGACY_BLOCK to make this clear. This is
different enough from BLK and SPL_BLK that there should be no confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
19 files changed:
common/spl/Kconfig
configs/axm_defconfig
configs/bcm968380gerg_ram_defconfig
configs/gardena-smart-gateway-mt7688_defconfig
configs/nsim_hs38_defconfig
configs/qemu-ppce500_defconfig
disk/Makefile
disk/disk-uclass.c
doc/develop/driver-model/migration.rst
drivers/Makefile
drivers/ata/Kconfig
drivers/block/Kconfig
drivers/block/Makefile
drivers/mmc/Kconfig
drivers/nvme/Kconfig
drivers/scsi/Kconfig
drivers/xen/Kconfig
include/blk.h
lib/efi_loader/Kconfig