blk: Drop reference to DM_SPL
authorSimon Glass <sjg@chromium.org>
Sun, 12 Nov 2023 20:03:47 +0000 (13:03 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 23:59:58 +0000 (18:59 -0500)
The intent here is to only allow SPL_LEGACY_BLK if !SPL_DM - i.e. that
when driver model is enabled in SPL, legacy block cannot be used.

However this combination is used by about 240 boards, so we cannot
disallow it, at least not yet.

So just drop the condition.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/Kconfig

index b897cf1..6ad1888 100644 (file)
@@ -13,7 +13,7 @@ config BLK
 
 config SPL_LEGACY_BLOCK
        bool # "Enable Legacy Block Device"
-       depends on SPL && !DM_SPL
+       depends on SPL
        default y if SPL_MMC || SPL_USB_STORAGE || SCSI || NVME || IDE
        default y if SPL_AHCI_PCI
        help