mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
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: Yauhen Kharuzhy <jekhor@gmail.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
998be3dd59
commit
f33cb34b39
1 changed files with 0 additions and 4 deletions
|
@ -868,10 +868,6 @@ int mmc_init(struct mmc *mmc)
|
|||
/* Test for SD version 2 */
|
||||
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 */
|
||||
err = sd_send_op_cond(mmc);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue