summaryrefslogtreecommitdiff
path: root/include/fsl_esdhc.h
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-02-17 10:42:43 -0200
committerStefano Babic <sbabic@denx.de>2015-02-23 09:11:42 +0100
commitf022d36e8a4517b2a9d25ff2d75bd2459d0c68b1 (patch)
treed6392276bbb01583c859847d023fda1deb812c4d /include/fsl_esdhc.h
parentaf38bf6b38eab53343afda2ad124682b27d82e64 (diff)
downloadu-boot-imx-f022d36e8a4517b2a9d25ff2d75bd2459d0c68b1.zip
u-boot-imx-f022d36e8a4517b2a9d25ff2d75bd2459d0c68b1.tar.gz
u-boot-imx-f022d36e8a4517b2a9d25ff2d75bd2459d0c68b1.tar.bz2
mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V
This adds support to switch to 1.8V in case CMD11 succeeds. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/fsl_esdhc.h')
-rw-r--r--include/fsl_esdhc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h
index c1b6648..e3d6581 100644
--- a/include/fsl_esdhc.h
+++ b/include/fsl_esdhc.h
@@ -154,6 +154,8 @@
#define ESDHC_HOSTCAPBLT_DMAS 0x00400000
#define ESDHC_HOSTCAPBLT_HSS 0x00200000
+#define ESDHC_VENDORSPEC_VSELECT 0x00000002 /* Use 1.8V */
+
struct fsl_esdhc_cfg {
u32 esdhc_base;
u32 sdhc_clk;