diff options
author | Sukumar Ghorai <s-ghorai@ti.com> | 2010-09-15 10:49:23 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-09-27 13:15:26 -0400 |
commit | 3a63833ec3002816a759a49ebda4e229c089114e (patch) | |
tree | 0ba266febb87cd181ed414b2f3ee103c37470e88 /arch/arm/mach-omap2/board-cm-t35.c | |
parent | 7193559af4243279790fd8dbfef82f8536d9c514 (diff) |
omap: mmc: extended to pass host capabilities from board file
wires variable is renamed, extended and this single variable to be used to
pass the platform capabilities, e.g DDR mode. Also removed the hardcoded
value was using as bus-width.
Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index e10bc109415c..b72009a50f01 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/i2c/at24.h> | 31 | #include <linux/i2c/at24.h> |
32 | #include <linux/i2c/twl.h> | 32 | #include <linux/i2c/twl.h> |
33 | #include <linux/regulator/machine.h> | 33 | #include <linux/regulator/machine.h> |
34 | #include <linux/mmc/host.h> | ||
34 | 35 | ||
35 | #include <linux/spi/spi.h> | 36 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/tdo24m.h> | 37 | #include <linux/spi/tdo24m.h> |
@@ -579,14 +580,14 @@ static struct twl4030_keypad_data cm_t35_kp_data = { | |||
579 | static struct omap2_hsmmc_info mmc[] = { | 580 | static struct omap2_hsmmc_info mmc[] = { |
580 | { | 581 | { |
581 | .mmc = 1, | 582 | .mmc = 1, |
582 | .wires = 4, | 583 | .caps = MMC_CAP_4_BIT_DATA, |
583 | .gpio_cd = -EINVAL, | 584 | .gpio_cd = -EINVAL, |
584 | .gpio_wp = -EINVAL, | 585 | .gpio_wp = -EINVAL, |
585 | 586 | ||
586 | }, | 587 | }, |
587 | { | 588 | { |
588 | .mmc = 2, | 589 | .mmc = 2, |
589 | .wires = 4, | 590 | .caps = MMC_CAP_4_BIT_DATA, |
590 | .transceiver = 1, | 591 | .transceiver = 1, |
591 | .gpio_cd = -EINVAL, | 592 | .gpio_cd = -EINVAL, |
592 | .gpio_wp = -EINVAL, | 593 | .gpio_wp = -EINVAL, |