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>
This commit is contained in:
Otavio Salvador
2015-02-17 10:42:43 -02:00
committed by Stefano Babic
parent af38bf6b38
commit f022d36e8a
3 changed files with 25 additions and 7 deletions

View File

@@ -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;