Re: [PATCH] mmc: Add architecture dependency for Marvell SoCcontroller

From: Chris Ball
Date: Wed Sep 15 2010 - 16:59:58 EST


On Wed, Sep 15, 2010 at 01:29:11PM +0300, Saeed Bishara wrote:
> I think (ARCH_DOVE || ARCH_MMP) is prefered, when MG1 gets added to
> mainline, then we will add that new ARCH.

Thanks, pushed to mmc-next as below.

From: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Sep 2010 16:45:41 -0400
Subject: [PATCH] mmc: Add architecture dependency for Marvell SoC controller

Since the driver is for controllers integrated into Marvell SoCs only
offer MMC_SDHCI_MV if we're building for one.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
Cc: Saeed Bishara <saeed@xxxxxxxxxxx>
[cjb: Use list of arches from Saeed, and update help text accordingly]
Signed-off-by: Chris Ball <cjb@xxxxxxxxxx>
---
drivers/mmc/host/Kconfig | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index ce099c4..6f12d5d 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -133,10 +133,11 @@ config MMC_SDHCI_CNS3XXX
config MMC_SDHCI_MV
tristate "SDHCI support on Marvell's SoC"
depends on MMC_SDHCI
+ depends on (ARCH_DOVE || ARCH_MMP)
select MMC_SDHCI_IO_ACCESSORS
help
- This selects the Secure Digital Host Controller Interface in
- Marvell's SoC controllers.
+ This selects SDHCI support for controllers found in the Dove
+ and MMP SoCs from Marvell.

If you have a controller with this interface, say Y or M here.

--
1.7.2.2

--
Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/