aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2015-01-26 05:23:28 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2015-01-30 05:44:42 -0500
commit8a8735eb4ceaa40ddd18c09c0bfa5dae34371a3a (patch)
treefe6cec795fc52113e5bbd83d226d58e429bd46ed /drivers/mmc/host/Kconfig
parent1140011ee9d9ca34a2d3e4950c2e6c388188c5e6 (diff)
mmc: Add hardware dependencies for sdhci-pxav3 and sdhci-pxav2
I seem to understand that the sdhci-pxav3 and sdhci-pxav2 drivers are only needed on the MMP architecture. So add a hardware dependency on ARCH_MMP, so that other users don't get to build useless drivers. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Chris Ball <chris@printf.net> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Eric Miao <eric.y.miao@gmail.com> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/Kconfig')
-rw-r--r--drivers/mmc/host/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index f145f1558353..61ac63a3776a 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -230,6 +230,7 @@ config MMC_SDHCI_PXAV3
230 tristate "Marvell MMP2 SD Host Controller support (PXAV3)" 230 tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
231 depends on CLKDEV_LOOKUP 231 depends on CLKDEV_LOOKUP
232 depends on MMC_SDHCI_PLTFM 232 depends on MMC_SDHCI_PLTFM
233 depends on ARCH_MMP || COMPILE_TEST
233 default CPU_MMP2 234 default CPU_MMP2
234 help 235 help
235 This selects the Marvell(R) PXAV3 SD Host Controller. 236 This selects the Marvell(R) PXAV3 SD Host Controller.
@@ -242,6 +243,7 @@ config MMC_SDHCI_PXAV2
242 tristate "Marvell PXA9XX SD Host Controller support (PXAV2)" 243 tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
243 depends on CLKDEV_LOOKUP 244 depends on CLKDEV_LOOKUP
244 depends on MMC_SDHCI_PLTFM 245 depends on MMC_SDHCI_PLTFM
246 depends on ARCH_MMP || COMPILE_TEST
245 default CPU_PXA910 247 default CPU_PXA910
246 help 248 help
247 This selects the Marvell(R) PXAV2 SD Host Controller. 249 This selects the Marvell(R) PXAV2 SD Host Controller.