From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Mon, 13 Feb 2017 17:56:06 +0300 Subject: [U-Boot] [PATCH v1] mmc: pci: only compile on platforms that need it Message-ID: <20170213145606.34833-1-andriy.shevchenko@linux.intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Felipe Balbi We should only compile pci_mmc.c on platforms that actually need this. Some platforms are using generic sdhci through driver model. Signed-off-by: Felipe Balbi Signed-off-by: Andy Shevchenko --- drivers/mmc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile index 49413dfaf1..26db92e582 100644 --- a/drivers/mmc/Makefile +++ b/drivers/mmc/Makefile @@ -36,7 +36,9 @@ 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_INTEL_BAYTRAIL) += pci_mmc.o +obj-$(CONFIG_INTEL_QUARK) += pci_mmc.o +obj-$(CONFIG_INTEL_QUEENSBAY) += 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 -- 2.11.0