]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc_imx: check the clock stable status after config the clock rate.
authorHaibo Chen <haibo.chen@nxp.com>
Tue, 1 Sep 2020 07:34:06 +0000 (15:34 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 17 Sep 2020 12:41:07 +0000 (14:41 +0200)
commitf9c3a816c0de61565a0afd1608de20ecb54e9243
treed04a0e9cbee54c27e42e8dca25909bfff65764be
parentd1a7205532a34bad2b83451258ca4ccacb9085e4
mmc: fsl_esdhc_imx: check the clock stable status after config the clock rate.

Currently, after config the clock rate, delay 10ms, this is quite a rough
method. Check the clock stable status in the present status register is
enough.

Tested-by: Ji Luo <ji.luo@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
drivers/mmc/fsl_esdhc_imx.c