commit | 7194951ed69ad3552afaae08dc08610d2f372332 | [log] [tgz] |
---|---|---|
author | Haibo Chen <haibo.chen@nxp.com> | Mon Jun 15 17:18:12 2020 +0800 |
committer | Peng Fan <peng.fan@nxp.com> | Wed Jun 24 14:05:30 2020 +0800 |
tree | 17704f7ef36ce51f9b1c8adb869de5e6fb0a3a06 | |
parent | 43162c3fe4cd8396462c5ab3ce0d03e443083d6f [diff] |
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: Haibo Chen <haibo.chen@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>