Skip to content
Commit fe95905f authored by Haibo Chen's avatar Haibo Chen Committed by Peng Fan
Browse files

mmc: retry CMD1 in mmc_send_op_cond() until the eMMC is ready



According to eMMC specification v5.1 section 6.4.3, we should issue
CMD1 repeatedly in the idle state until the eMMC is ready even if
mmc_send_op_cond() send CMD1 with argument = 0. Otherwise some eMMC
devices seems to enter the inactive mode after mmc_complete_op_cond()
issued CMD0 when the eMMC device is busy.

Signed-off-by: default avatarHaibo Chen <haibo.chen@nxp.com>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
parent ba61676f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment