summaryrefslogtreecommitdiff
path: root/board/freescale/common
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@freescale.com>2015-09-17 10:27:48 +0800
committerYork Sun <yorksun@freescale.com>2015-11-02 08:50:29 -0800
commitbf50be835ed1c0e2875ff7672381944eeab8695d (patch)
treee8885c6d6d420278b1b51293069ba4ffbc461080 /board/freescale/common
parent12486f38419c54b36dc9b2707bc2912734e9fe2d (diff)
downloadu-boot-imx-bf50be835ed1c0e2875ff7672381944eeab8695d.zip
u-boot-imx-bf50be835ed1c0e2875ff7672381944eeab8695d.tar.gz
u-boot-imx-bf50be835ed1c0e2875ff7672381944eeab8695d.tar.bz2
mmc: fsl_esdhc: enable EVDD automatic control for SD/MMC Legacy Adapter Card
When detecting SDHC Adapter Card Type 2(SD/MMC Legacy Adapter Card), enable EVDD automatic control via SDHC_VS. This could support SD card IO voltage switching for UHS-1 speed mode. Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/common')
-rw-r--r--board/freescale/common/qixis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/common/qixis.h b/board/freescale/common/qixis.h
index 450cd0d..0aa56a0 100644
--- a/board/freescale/common/qixis.h
+++ b/board/freescale/common/qixis.h
@@ -125,10 +125,13 @@ void qixis_write_i2c(unsigned int reg, u8 value);
#define QIXIS_ESDHC_ADAPTER_TYPE_MMC 0x5 /* MMC Card */
#define QIXIS_ESDHC_ADAPTER_TYPE_SD 0x6 /* SD Card Rev2.0 3.0 */
#define QIXIS_ESDHC_NO_ADAPTER 0x7 /* No Card is Present*/
+
#define QIXIS_SDCLKIN 0x08
#define QIXIS_SDCLKOUT 0x02
#define QIXIS_DAT5_6_7 0X02
#define QIXIS_DAT4 0X01
+
+#define QIXIS_EVDD_BY_SDHC_VS 0x0c
#endif
#endif