summaryrefslogtreecommitdiff
path: root/drivers/mmc/Makefile
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-02-20 14:24:13 +0300
committerJaehoon Chung <jh80.chung@samsung.com>2017-03-21 21:02:18 +0900
commitb706b1c24d98320fce12a402bd6960f407063d78 (patch)
treefc4d7eacc888bdd4b2bb48457d2176bd9a1cc831 /drivers/mmc/Makefile
parentd5abcf94c7123167725fc22ace342f0d455093c1 (diff)
downloadu-boot-b706b1c24d98320fce12a402bd6960f407063d78.tar.gz
mmc: pci: Add CONFIG_MMC_PCI
We don't want pci_mmc to compile every time x86 compiles, only when there's a platform that needs it. For that reason, we're adding a new CONFIG_MMC_PCI which platforms can choose to enable. Suggested-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/mmc/Makefile')
-rw-r--r--drivers/mmc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile
index 6a488f1db9..1e8d23f012 100644
--- a/drivers/mmc/Makefile
+++ b/drivers/mmc/Makefile
@@ -34,7 +34,7 @@ obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
obj-$(CONFIG_MMC_MXC) += mxcmmc.o
obj-$(CONFIG_MMC_MXS) += mxsmmc.o
-obj-$(CONFIG_X86) += pci_mmc.o
+obj-$(CONFIG_MMC_PCI) += pci_mmc.o
obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
obj-$(CONFIG_S3C_SDI) += s3c_sdi.o