mmc: fsl_esdhc_imx: fix voltage validation
[ fsl_esdhc commit 5b05fc0310 ]
Voltage validation should be done by CMD8. Current comparison between
mmc_cfg voltages and host voltage capabilities is meaningless.
So drop current comparison and let voltage validation is through CMD8.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
committed by
Jaehoon Chung
parent
308a4ff77d
commit
2fd7d1f247
@@ -164,12 +164,12 @@
|
||||
#define BLKATTR_SIZE(x) (x & 0x1fff)
|
||||
#define MAX_BLK_CNT 0x7fff /* so malloc will have enough room with 32M */
|
||||
|
||||
#define ESDHC_HOSTCAPBLT_VS18 0x04000000
|
||||
#define ESDHC_HOSTCAPBLT_VS30 0x02000000
|
||||
#define ESDHC_HOSTCAPBLT_VS33 0x01000000
|
||||
#define ESDHC_HOSTCAPBLT_SRS 0x00800000
|
||||
#define ESDHC_HOSTCAPBLT_DMAS 0x00400000
|
||||
#define ESDHC_HOSTCAPBLT_HSS 0x00200000
|
||||
#define HOSTCAPBLT_VS18 0x04000000
|
||||
#define HOSTCAPBLT_VS30 0x02000000
|
||||
#define HOSTCAPBLT_VS33 0x01000000
|
||||
#define HOSTCAPBLT_SRS 0x00800000
|
||||
#define HOSTCAPBLT_DMAS 0x00400000
|
||||
#define HOSTCAPBLT_HSS 0x00200000
|
||||
|
||||
#define ESDHC_VENDORSPEC_VSELECT 0x00000002 /* Use 1.8V */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user