summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-04-08 08:40:13 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-04-14 17:08:18 +0200
commit72638ddd1422df38d1b1b269038cfc8d66152c10 (patch)
treeb40bb3d7a3f86c454405d732686269615de180b0 /arch/arm
parentARM: 6033/1: ARM: MMCI: pass max frequency from platform (diff)
downloadlinux-72638ddd1422df38d1b1b269038cfc8d66152c10.tar.xz
linux-72638ddd1422df38d1b1b269038cfc8d66152c10.zip
ARM: 6034/1: ARM: U300: set f_max to 24 MHz for MMCI
This employs the frequency setting mechanism introduced to the MMCI to specify that this system can actually be clocked at 24 MHz. 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')
-rw-r--r--arch/arm/mach-u300/mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/mmc.c b/arch/arm/mach-u300/mmc.c
index ef8032d2f5bf..783f1236fe1b 100644
--- a/arch/arm/mach-u300/mmc.c
+++ b/arch/arm/mach-u300/mmc.c
@@ -101,6 +101,7 @@ int __devinit mmc_init(struct amba_device *adev)
* we have a regulator we can control instead.
*/
/* Nominally 2.85V on our platform */
+ mmci_card->mmc0_plat_data.f_max = 24000000;
mmci_card->mmc0_plat_data.status = mmc_status;
mmci_card->mmc0_plat_data.gpio_wp = -1;
mmci_card->mmc0_plat_data.gpio_cd = -1;