summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/mmc.h
diff options
context:
space:
mode:
authorSukumar Ghorai <s-ghorai@ti.com>2010-09-15 14:49:23 +0000
committerTony Lindgren <tony@atomide.com>2010-09-27 10:15:26 -0700
commit3a63833ec3002816a759a49ebda4e229c089114e (patch)
tree0ba266febb87cd181ed414b2f3ee103c37470e88 /arch/arm/plat-omap/include/plat/mmc.h
parent7193559af4243279790fd8dbfef82f8536d9c514 (diff)
downloadtalos-obmc-linux-3a63833ec3002816a759a49ebda4e229c089114e.tar.gz
talos-obmc-linux-3a63833ec3002816a759a49ebda4e229c089114e.zip
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/plat-omap/include/plat/mmc.h')
-rw-r--r--arch/arm/plat-omap/include/plat/mmc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h
index 9b89ec601ee2..4f819fc261b7 100644
--- a/arch/arm/plat-omap/include/plat/mmc.h
+++ b/arch/arm/plat-omap/include/plat/mmc.h
@@ -73,10 +73,9 @@ struct omap_mmc_platform_data {
struct omap_mmc_slot_data {
- /* 4 wire signaling is optional, and is used for SD/SDIO/HSMMC;
- * 8 wire signaling is also optional, and is used with HSMMC
- */
- u8 wires;
+ /* 4/8 wires and any additional host capabilities
+ * need to OR'd all capabilities (ref. linux/mmc/host.h) */
+ u32 caps;
/*
* nomux means "standard" muxing is wrong on this board, and
OpenPOWER on IntegriCloud