[PATCH 1/2] dm: core: Correct references to DM_SPL

Simon Glass sjg at chromium.org
Wed Sep 20 04:05:47 CEST 2023


This does not existing anymore. Update the two in-tree uses of it to the
correct Kconfig option, which is SPL_DM

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Add new patch to correct references to DM_SPL

 drivers/block/Kconfig | 2 +-
 drivers/core/Kconfig  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index 1abea3f10db4..ef41aba03555 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 && !SPL_DM
 	default y if SPL_MMC || SPL_USB_STORAGE || SCSI || NVME || IDE
 	default y if SPL_AHCI_PCI
 	help
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index f0d848f45d8e..6c287c68a1c2 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -88,7 +88,7 @@ config DM_STATS
 
 config SPL_DM_STATS
 	bool "Collect and show driver model stats in SPL"
-	depends on DM_SPL
+	depends on SPL_DM
 	help
 	  Enable this to collect and display memory statistics about driver
 	  model. This can help to figure out where all the memory is going and
-- 
2.42.0.459.ge4e396fd5e-goog



More information about the U-Boot mailing list