[U-Boot] [PATCH 38/39] dm: mmc: Correct Kconfig condition for SPL_DM_MMC_OPS

Simon Glass sjg at chromium.org
Tue Jul 4 19:49:30 UTC 2017


This should depend on SPL_DM_MMC, not SPL_DM. For it and update the only
affected board's defconfig.

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

 configs/Linksprite_pcDuino3_defconfig | 3 ---
 drivers/mmc/Kconfig                   | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/configs/Linksprite_pcDuino3_defconfig b/configs/Linksprite_pcDuino3_defconfig
index f0d382c002..fb81bad00f 100644
--- a/configs/Linksprite_pcDuino3_defconfig
+++ b/configs/Linksprite_pcDuino3_defconfig
@@ -15,10 +15,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-# CONFIG_SPL_BLK is not set
 CONFIG_DM_MMC=y
-# CONFIG_SPL_DM_MMC is not set
-# CONFIG_SPL_DM_MMC_OPS is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SCSI=y
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 51a87cdd77..ecf5a92949 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -43,7 +43,7 @@ config SPL_DM_MMC
 
 config SPL_DM_MMC_OPS
 	bool "Support MMC controller operations using Driver Model in SPL"
-	depends on SPL_DM && DM_MMC_OPS
+	depends on SPL_DM_MMC && DM_MMC_OPS
 	default y
 	help
 	  Driver model provides a means of supporting device operations. This
-- 
2.13.2.725.g09c95d1e9-goog



More information about the U-Boot mailing list