diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2009-09-14 12:57:11 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-15 22:11:06 +0100 |
commit | 9e6c82cd3e1a739ef48bf8c1decc8e7a7d8de3ac (patch) | |
tree | 3146dbc92480e9034e138bbff11912ff8936fc0b /arch/arm/mach-u300 | |
parent | a6a6464a0ecd20c5f1594a4fe5b24af6181b7366 (diff) | |
download | talos-op-linux-9e6c82cd3e1a739ef48bf8c1decc8e7a7d8de3ac.tar.gz talos-op-linux-9e6c82cd3e1a739ef48bf8c1decc8e7a7d8de3ac.zip |
ARM: 5698/1: MMCI pass capabilities in platform data
This makes it possible to pass down the host controller
capabilities for the MMCI driver using the platform data. It
also provides the capabilties for the U300 implementation as an
example, and makes sure the 4bit wide mode is set if this is
requested by the ios() now that we can actually set that
capability for a platform.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r-- | arch/arm/mach-u300/mmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/mmc.c b/arch/arm/mach-u300/mmc.c index 585cc013639d..089b9957b6a4 100644 --- a/arch/arm/mach-u300/mmc.c +++ b/arch/arm/mach-u300/mmc.c @@ -158,6 +158,8 @@ int __devinit mmc_init(struct amba_device *adev) mmci_card->mmc0_plat_data.status = mmc_status; mmci_card->mmc0_plat_data.gpio_wp = -1; mmci_card->mmc0_plat_data.gpio_cd = -1; + mmci_card->mmc0_plat_data.capabilities = MMC_CAP_MMC_HIGHSPEED | + MMC_CAP_SD_HIGHSPEED | MMC_CAP_4_BIT_DATA; mmcsd_device->platform_data = (void *) &mmci_card->mmc0_plat_data; |