summaryrefslogtreecommitdiff
path: root/drivers/mmc/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:38:48 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:25 -0600
commite7ecf7cb5a6b873daf2d88daf03034d51fad4acc (patch)
treed7bc50bfa1fc488a40f5a05795325c03653a0417 /drivers/mmc/Makefile
parentfdfa39d3f20b669b0cdb8f5e934003e5689fd911 (diff)
dm: mmc: Add an MMC uclass
Add basic support for MMC, providing a uclass which can set up an MMC device. This allows MMC drivers to move to using driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/Makefile')
-rw-r--r--drivers/mmc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile
index ed73687735..2680c6342b 100644
--- a/drivers/mmc/Makefile
+++ b/drivers/mmc/Makefile
@@ -5,6 +5,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
+obj-$(CONFIG_DM_MMC) += mmc-uclass.o
+
obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
obj-$(CONFIG_BCM2835_SDHCI) += bcm2835_sdhci.o
obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o