aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2009-06-23 06:30:21 -0400
committerTony Lindgren <tony@atomide.com>2009-06-23 06:30:21 -0400
commite4d24ec39c98cdc9cd97c26fdd426bbab0034fbe (patch)
tree99a7e970f81eb99dc81339062e06f630c92354f6 /arch/arm
parent0c405b3346ea08098a82a1ee82912b018dfa9f96 (diff)
OMAP1: Fix N770 MMC support
Some of the N770's MMC configuration options seem to have been dropped. This patch adds them back in again. Note that only the .ocr_mask change was /critical/, but I've added the .max_freq setting back as well, as the original sources had it. Can anyone confirm if this is unnecessary? Secondly, there is support in the original code for a 4wire/higher speed mode. As I don't have the requisite N770 hardware (I think it was a rev2 N770?) to test this, I can't really add it back. Signed-off-by: Andrew de Quincey <adq@lidskialf.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap1/board-nokia770.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c
index e70fc7c66bbb..d9ebba01ffce 100644
--- a/arch/arm/mach-omap1/board-nokia770.c
+++ b/arch/arm/mach-omap1/board-nokia770.c
@@ -205,9 +205,11 @@ static int nokia770_mmc_get_cover_state(struct device *dev, int slot)
205static struct omap_mmc_platform_data nokia770_mmc2_data = { 205static struct omap_mmc_platform_data nokia770_mmc2_data = {
206 .nr_slots = 1, 206 .nr_slots = 1,
207 .dma_mask = 0xffffffff, 207 .dma_mask = 0xffffffff,
208 .max_freq = 12000000,
208 .slots[0] = { 209 .slots[0] = {
209 .set_power = nokia770_mmc_set_power, 210 .set_power = nokia770_mmc_set_power,
210 .get_cover_state = nokia770_mmc_get_cover_state, 211 .get_cover_state = nokia770_mmc_get_cover_state,
212 .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
211 .name = "mmcblk", 213 .name = "mmcblk",
212 }, 214 },
213}; 215};