diff options
author | Sukumar Ghorai <s-ghorai@ti.com> | 2010-09-15 14:49:23 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-09-27 10:15:26 -0700 |
commit | 3a63833ec3002816a759a49ebda4e229c089114e (patch) | |
tree | 0ba266febb87cd181ed414b2f3ee103c37470e88 /arch/arm/mach-omap2/hsmmc.h | |
parent | 7193559af4243279790fd8dbfef82f8536d9c514 (diff) | |
download | op-kernel-dev-3a63833ec3002816a759a49ebda4e229c089114e.zip op-kernel-dev-3a63833ec3002816a759a49ebda4e229c089114e.tar.gz |
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/hsmmc.h')
-rw-r--r-- | arch/arm/mach-omap2/hsmmc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.h b/arch/arm/mach-omap2/hsmmc.h index 1fe6f01..281e972 100644 --- a/arch/arm/mach-omap2/hsmmc.h +++ b/arch/arm/mach-omap2/hsmmc.h @@ -10,7 +10,8 @@ struct mmc_card; struct omap2_hsmmc_info { u8 mmc; /* controller 1/2/3 */ - u8 wires; /* 1/4/8 wires */ + u32 caps; /* 4/8 wires and any additional host + * capabilities OR'd (ref. linux/mmc/host.h) */ bool transceiver; /* MMC-2 option */ bool ext_clock; /* use external pin for input clock */ bool cover_only; /* No card detect - just cover switch */ |