summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorstanley.miao <stanley.miao@windriver.com>2010-05-13 12:39:31 +0000
committerTony Lindgren <tony@atomide.com>2010-05-20 11:17:51 -0700
commit03e7e170d6fdc5b6f75d1ab2cc1a6cb4f2b6b8c4 (patch)
tree43ec8348bdd5d8ad0f940c4b688b083b9c871e9f /arch/arm/plat-omap
parented8303fc111e58530e22bd29b0d7e08dced75999 (diff)
downloadtalos-obmc-linux-03e7e170d6fdc5b6f75d1ab2cc1a6cb4f2b6b8c4.tar.gz
talos-obmc-linux-03e7e170d6fdc5b6f75d1ab2cc1a6cb4f2b6b8c4.zip
omap: hsmmc: fix the hsmmc driver for am3517
AM3517 don't have the register OMAP343X_CONTROL_PBIAS_LITE and the regulators like "vmmc", so we set a noop "set_power" function for it. Signed-off-by: Stanley.Miao <stanley.miao@windriver.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/mmc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/mmc.h b/arch/arm/plat-omap/include/plat/mmc.h
index a1bac07c89eb..c835f1e994c6 100644
--- a/arch/arm/plat-omap/include/plat/mmc.h
+++ b/arch/arm/plat-omap/include/plat/mmc.h
@@ -102,6 +102,10 @@ struct omap_mmc_platform_data {
/* Regulator off remapped to sleep */
unsigned vcc_aux_disable_is_sleep:1;
+ /* we can put the features above into this variable */
+#define HSMMC_HAS_PBIAS (1 << 0)
+ unsigned features;
+
int switch_pin; /* gpio (card detect) */
int gpio_wp; /* gpio (write protect) */
OpenPOWER on IntegriCloud