Skip to content
Snippets Groups Projects
Commit f33cb34b authored by Yauhen Kharuzhy's avatar Yauhen Kharuzhy Committed by Andy Fleming
Browse files

mmc: Remove return from mmc_init for non SD 2.0 compatible cards.


Cards which are not compatible with SD 2.0 standard, may return response
for CMD8 command, but it will be invalid in terms of SD 2.0. We should
accept this case as admissible, just like Linux does.

Signed-off-by: default avatarYauhen Kharuzhy <jekhor@gmail.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent 998be3dd
No related branches found
No related tags found
No related merge requests found
...@@ -868,10 +868,6 @@ int mmc_init(struct mmc *mmc) ...@@ -868,10 +868,6 @@ int mmc_init(struct mmc *mmc)
/* Test for SD version 2 */ /* Test for SD version 2 */
err = mmc_send_if_cond(mmc); err = mmc_send_if_cond(mmc);
/* If we got an error other than timeout, we bail */
if (err && err != TIMEOUT)
return err;
/* Now try to get the SD card's operating condition */ /* Now try to get the SD card's operating condition */
err = sd_send_op_cond(mmc); err = sd_send_op_cond(mmc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment