mmc: fsl_esdhc: Fix eMMC 1.8v setting issue
authorPeng Fan <peng.fan@nxp.com>
Tue, 2 Jan 2018 08:51:22 +0000 (16:51 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 15:08:44 +0000 (00:08 +0900)
commitdb359efd5907edbeaea2e3eb3504729f60208cd8
tree24ed846db8b25f6fadb589f134304f3edbcf4598
parent8c0bb8582459a739ac27eda3d738734e489d0465
mmc: fsl_esdhc: Fix eMMC 1.8v setting issue

Current USDHC driver will reset VSELECT to 0 (3.3v) during mmc init,
then set to 1 for 1.8v eMMC I/O. When booting from eMMC, since ROM has
already set VSELECT to 1.8v before running the u-boot. This reset in
USDHC driver causes a short 2.2v pulse on CMD pin.

Fix this issue by not reset VSELECT to 0 when 1.8v flag is set.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/fsl_esdhc.c