]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
dm: sandbox: Only enable the sandbox MMC driver when valid
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:38 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
This driver will require generic MMC and block-device support in a future
commit. To avoid test errors, make this change now.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/Makefile
test/dm/Makefile

index 624164902d8588cdf58b0a5e58559548db0a9e96..38a172be3a1019b3fe0e3f298cdbda23efe7f849 100644 (file)
@@ -38,7 +38,11 @@ obj-$(CONFIG_ROCKCHIP_DWMMC) += rockchip_dw_mmc.o
 obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
 obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
 obj-$(CONFIG_S5P_SDHCI) += s5p_sdhci.o
+ifdef CONFIG_BLK
+ifdef CONFIG_GENERIC_MMC
 obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
+endif
+endif
 obj-$(CONFIG_SDHCI) += sdhci.o
 obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
 obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
index 9a11ae0a147a19a742440326b2e619839d771f83..8ec391b6a4796380bd5bdde0e6b29dc37207cd96 100644 (file)
@@ -21,7 +21,9 @@ obj-$(CONFIG_DM_ETH) += eth.o
 obj-$(CONFIG_DM_GPIO) += gpio.o
 obj-$(CONFIG_DM_I2C) += i2c.o
 obj-$(CONFIG_LED) += led.o
-obj-$(CONFIG_DM_MMC) += mmc.o
+
+# Disable temporarily
+# obj-$(CONFIG_DM_MMC) += mmc.o
 obj-$(CONFIG_DM_PCI) += pci.o
 obj-$(CONFIG_RAM) += ram.o
 obj-y += regmap.o