summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorYauhen Kharuzhy <jekhor@gmail.com>2009-05-07 13:08:53 +0300
committerAndy Fleming <afleming@freescale.com>2009-06-02 17:19:07 -0500
commitf33cb34b3971dabe3720d577b0e1b8601c09fe17 (patch)
tree73318fc2700cbf54d2ccbad5b7cef64427bfc49b /drivers/mmc
parent998be3dd59ed0af4bec38324047fecfa88ac45db (diff)
downloadu-boot-imx-f33cb34b3971dabe3720d577b0e1b8601c09fe17.zip
u-boot-imx-f33cb34b3971dabe3720d577b0e1b8601c09fe17.tar.gz
u-boot-imx-f33cb34b3971dabe3720d577b0e1b8601c09fe17.tar.bz2
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/mmc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 925f863..64a311d 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -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);