mmc: pci: Add CONFIG_MMC_PCI
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Feb 2017 11:24:13 +0000 (14:24 +0300)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:38:06 +0000 (07:38 +0200)
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>
configs/bayleybay_defconfig
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
configs/conga-qeval20-qa3-e3845_defconfig
configs/crownbay_defconfig
configs/dfi-bt700-q7x-151_defconfig
configs/galileo_defconfig
configs/minnowmax_defconfig
configs/theadorable-x86-dfi-bt700_defconfig
drivers/mmc/Kconfig
drivers/mmc/Makefile

index c6aa24f9be2439592d307a04f4bfc4b9fd149bfa..d2f9f24a19651aa5e62d014944613e7887b56cf3 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CPU=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index 890d28ce696f3455e9853658bd69383c134c93b9..d96bfcbe14ad59012fdd7a58093e11816ca84e7c 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_INTEL=y
 CONFIG_WINBOND_W83627=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index 6e4cd843d9958ea3c15a52b7dbc1945840a9002a..1642bf292686d41d5fc088346ce26f67fc34ec3b 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_INTEL=y
 CONFIG_WINBOND_W83627=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index 13a00c2a17dd8a09afdadec6f1fd53e03bc95980..4a88f5f3c5e9e98e6e37f42fd6979648bbe9d3de 100644 (file)
@@ -37,6 +37,7 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CPU=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index ce447f540a8d1c2c34093d49814c0601528e16e6..d5bd66f83c5fc6ed88d5b8195cb67c873f749932 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_CPU=y
 CONFIG_DM_I2C=y
 CONFIG_NUVOTON_NCT6102D=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index 570f9ea8100972da0561dc84e73ffb63340de098..f60abc3422476090da019cebaeba4780a80e6420 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CPU=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index 5f61f2a19cf69036130383241d09c91b3fafb0d8..8dac1d72fb973027e4469d4f1a1460d12cab694a 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CPU=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index cde33bbfe1f39c1d142f5cae95ec27a9451ea694..1703cee8419c80966c4857f71efa51a5cafa87a7 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_CPU=y
 CONFIG_DM_I2C=y
 CONFIG_NUVOTON_NCT6102D=y
 CONFIG_MMC=y
+CONFIG_MMC_PCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_SPI_FLASH=y
index ddef59a3c01db3f591b2d3592570aaba0428b0ea..78091cc21775172e862a5c388799a18b6138b030 100644 (file)
@@ -122,6 +122,14 @@ config MMC_MXS
 
          If unsure, say N.
 
+config MMC_PCI
+       bool "Support for MMC controllers on PCI"
+       help
+         This selects PCI-based MMC controllers.
+         If you have an MMC controller on a PCI bus, say Y here.
+
+         If unsure, say N.
+
 config MMC_OMAP_HS
        bool "TI OMAP High Speed Multimedia Card Interface support"
        help
index 6a488f1db99f4dc21a71481b77de344fb817ab87..1e8d23f012ca846761c2c0c29e060320906419d1 100644 (file)
@@ -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