aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-10-04 19:58:01 -0400
committerTony Lindgren <tony@atomide.com>2010-10-04 19:58:01 -0400
commit63509e3c03ae22000c642e33b5006769d1b5db86 (patch)
treeff9b2eb58041c24af8610d0e07560c391addb544 /arch
parent7ad0e386d46e9edff64705ab25337ad9130baf63 (diff)
omap: Keep nwires for omap1 and 2420 MMC controller
A patch from Sukumar Ghorai <s-ghorai@ti.com> changed the nwires to use caps instead. However, nwires is still needed for the earlier controller. Signed-off-by: Tony Lindgren <tony@atomide.com> Acked-by: Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/board-n8x0.c2
-rw-r--r--arch/arm/plat-omap/include/plat/mmc.h9
2 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index 7a93bd5b24c5..8fd226989b25 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -488,7 +488,7 @@ static struct omap_mmc_platform_data mmc1_data = {
488 .max_freq = 24000000, 488 .max_freq = 24000000,
489 .dma_mask = 0xffffffff, 489 .dma_mask = 0xffffffff,
490 .slots[0] = { 490 .slots[0] = {
491 .caps = MMC_CAP_4_BIT_DATA, 491 .wires = 4,
492 .set_power = n8x0_mmc_set_power, 492 .set_power = n8x0_mmc_set_power,
493 .set_bus_mode = n8x0_mmc_set_bus_mode, 493 .set_bus_mode = n8x0_mmc_set_bus_mode,
494 .get_cover_state = n8x0_mmc_get_cover_state, 494 .get_cover_state = n8x0_mmc_get_cover_state,
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h
index 4f819fc261b7..c5f35f87deaa 100644
--- a/arch/arm/plat-omap/include/plat/mmc.h
+++ b/arch/arm/plat-omap/include/plat/mmc.h
@@ -73,9 +73,12 @@ struct omap_mmc_platform_data {
73 73
74 struct omap_mmc_slot_data { 74 struct omap_mmc_slot_data {
75 75
76 /* 4/8 wires and any additional host capabilities 76 /*
77 * need to OR'd all capabilities (ref. linux/mmc/host.h) */ 77 * 4/8 wires and any additional host capabilities
78 u32 caps; 78 * need to OR'd all capabilities (ref. linux/mmc/host.h)
79 */
80 u8 wires; /* Used for the MMC driver on omap1 and 2420 */
81 u32 caps; /* Used for the MMC driver on 2430 and later */
79 82
80 /* 83 /*
81 * nomux means "standard" muxing is wrong on this board, and 84 * nomux means "standard" muxing is wrong on this board, and