diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 13:52:38 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | f8b7752e8f42c6f0bb8725f2488e398c849a7bf4 (patch) | |
tree | 22ffd4911d273aba1eb0856027bf1417e4422f90 /drivers/mmc | |
parent | fdbb139f0ce10325b44dd3ec76993f8c8e798395 (diff) | |
download | u-boot-imx-f8b7752e8f42c6f0bb8725f2488e398c849a7bf4.zip u-boot-imx-f8b7752e8f42c6f0bb8725f2488e398c849a7bf4.tar.gz u-boot-imx-f8b7752e8f42c6f0bb8725f2488e398c849a7bf4.tar.bz2 |
dm: sandbox: Only enable the sandbox MMC driver when valid
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile index 6241649..38a172b 100644 --- a/drivers/mmc/Makefile +++ b/drivers/mmc/Makefile @@ -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 |