Commit 8a8735eb authored by Jean Delvare's avatar Jean Delvare Committed by Ulf Hansson

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: default avatarJean 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: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 1140011e
...@@ -230,6 +230,7 @@ config MMC_SDHCI_PXAV3 ...@@ -230,6 +230,7 @@ config MMC_SDHCI_PXAV3
tristate "Marvell MMP2 SD Host Controller support (PXAV3)" tristate "Marvell MMP2 SD Host Controller support (PXAV3)"
depends on CLKDEV_LOOKUP depends on CLKDEV_LOOKUP
depends on MMC_SDHCI_PLTFM depends on MMC_SDHCI_PLTFM
depends on ARCH_MMP || COMPILE_TEST
default CPU_MMP2 default CPU_MMP2
help help
This selects the Marvell(R) PXAV3 SD Host Controller. This selects the Marvell(R) PXAV3 SD Host Controller.
...@@ -242,6 +243,7 @@ config MMC_SDHCI_PXAV2 ...@@ -242,6 +243,7 @@ config MMC_SDHCI_PXAV2
tristate "Marvell PXA9XX SD Host Controller support (PXAV2)" tristate "Marvell PXA9XX SD Host Controller support (PXAV2)"
depends on CLKDEV_LOOKUP depends on CLKDEV_LOOKUP
depends on MMC_SDHCI_PLTFM depends on MMC_SDHCI_PLTFM
depends on ARCH_MMP || COMPILE_TEST
default CPU_PXA910 default CPU_PXA910
help help
This selects the Marvell(R) PXAV2 SD Host Controller. This selects the Marvell(R) PXAV2 SD Host Controller.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment