Re: [PATCH v3 2/2] blk: Drop reference to DM_SPL
On Sun, Nov 12, 2023 at 01:03:47PM -0700, Simon Glass wrote: > 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 Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature
[PATCH v3 2/2] blk: Drop reference to DM_SPL
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 --- (no changes since v1) drivers/block/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b897cf1a3d1b..6ad18889f61e 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -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 -- 2.42.0.869.gea05f2083d-goog