mmc: send CMD0 before CMD1 for some MMC cards
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 2 Aug 2016 07:33:18 +0000 (15:33 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 16 Aug 2016 01:27:07 +0000 (10:27 +0900)
commitd188b1130226d304fb3cd2c901b968eca927f39f
treeffe7465192b843d5ad55552e271207ab423a70a6
parentba92cd74d227b0d3f39c2452513055c1477697e9
mmc: send CMD0 before CMD1 for some MMC cards

When the MMC framework was added in u-boot, the mmc_go_idle was
added before mmc_send_op_cond_iter in function mmc_send_op_cond
annotating that some cards seemed to need this. Actually, we still
need to do this in function mmc_complete_op_cond for those cards.
This has been verified on Micron MTFC4GACAECN eMMC chip.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
drivers/mmc/mmc.c