]> git.baikalelectronics.ru Git - uboot.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)
commit3e70f368d125556234212ff26a7123e3ae292352
treed04a0e9cbee54c27e42e8dca25909bfff65764be
parenta656bbe4e3af09846a66f12a9d9f0c82608b525f
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