[PATCH] mmc: fsl_esdhc_imx: Fix clock disable issue

sbabic at denx.de sbabic at denx.de
Thu Oct 7 16:13:03 CEST 2021

> The SD clock disable is wrapped by MMC_SUPPORTS_TUNING. So it
> only works when UHS is enabled. However, in SD initialization the
> power cycle does not depends on UHS. But the power cycle needs
> disable the SD clock before power down.
> So this causes a problem when UHS is not enabled. Some cards can't
> become ready (ACMD14 timeout) due to the clock is enabled during
> power cycle.
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Reviewed-by: Haibo Chen <haibo.chen at nxp.com>
> Reviewed-by: Jaehoon Chung <jh80.chung at samsung.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de

More information about the U-Boot mailing list