summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAjay Bhargav <ajay.bhargav@einfochips.com>2011-10-05 03:13:23 +0000
committerTerry Lv <r65388@freescale.com>2012-03-29 15:12:06 +0800
commit3a46a9a1bb741343127ec068442b26a8a63f39ae (patch)
tree22ba435b5af5077ae5103345d66e7492336f1880 /drivers
parenta1db4fa037493e5e6aeeba384e5fe261d0f93c31 (diff)
downloadu-boot-imx-3a46a9a1bb741343127ec068442b26a8a63f39ae.zip
u-boot-imx-3a46a9a1bb741343127ec068442b26a8a63f39ae.tar.gz
u-boot-imx-3a46a9a1bb741343127ec068442b26a8a63f39ae.tar.bz2
mmc: CMD7:MMC_CMD_SELECT_CARD response fix
As per JEDEC document JESD84-A441 (page 105) response for CMD7 (MMC_CMD_SELECT_CARD) response should be R1 instead of R1b. In uboot we never take MMC to disconnected state and on powerup its always ideal state which later goes to stand-by state. from document footnote: R1 while selecting from Stand-By State to Transfer State; R1b while selecting from Disconnected State to Programming State. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 638edfa..efb6537 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -1317,7 +1317,7 @@ int mmc_startup(struct mmc *mmc)
/* Select the card, and put it into Transfer Mode */
if (!mmc_host_is_spi(mmc)) { /* cmd not supported in spi */
cmd.cmdidx = MMC_CMD_SELECT_CARD;
- cmd.resp_type = MMC_RSP_R1b;
+ cmd.resp_type = MMC_RSP_R1;
cmd.cmdarg = mmc->rca << 16;
cmd.flags = 0;
err = mmc_send_cmd(mmc, &cmd, NULL);