summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap
diff options
context:
space:
mode:
authorJan Weitzel <j.weitzel@phytec.de>2013-05-28 13:51:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-31 09:03:18 +0200
commit9897dec869bfc54f704fd07dc85800aad2e37250 (patch)
tree866001c29606f0e0d8e2afb9108d94e2a5ebe8d4 /arch/arm/mach-omap
parent86974b5d996a05133bde2bd8dc3e4638089aac56 (diff)
downloadbarebox-9897dec869bfc54f704fd07dc85800aad2e37250.tar.gz
barebox-9897dec869bfc54f704fd07dc85800aad2e37250.tar.xz
twl6030: Set WR_S for VMMC
After Reset VMMC goes to default VSEL. This is not a clean power cycle for some SD cards. Set flag WR_S for VMMC to avoid going to default VSEL. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-omap')
-rw-r--r--arch/arm/mach-omap/omap4_twl6030_mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/omap4_twl6030_mmc.c b/arch/arm/mach-omap/omap4_twl6030_mmc.c
index 3d34a44631..155add6ea1 100644
--- a/arch/arm/mach-omap/omap4_twl6030_mmc.c
+++ b/arch/arm/mach-omap/omap4_twl6030_mmc.c
@@ -43,6 +43,7 @@ void set_up_mmc_voltage_omap4(void)
writel(value, OMAP4_CONTROL_PBIASLITE);
twl6030_mci_write(TWL6030_PMCS_VMMC_CFG_VOLTAGE,
+ TWL6030_VMMC_WR_S |
TWL6030_VMMC_VSEL_0 | TWL6030_VMMC_VSEL_2 |
TWL6030_VMMC_VSEL_4);
twl6030_mci_write(TWL6030_PMCS_VMMC_CFG_STATE,