Commit 57f4b6f8 authored by Yann Gautier's avatar Yann Gautier
Browse files

mmc: increase delay between ACMD41 retries



In the SD Specification, Power Up Diagram of Card figure, the Timeout
value for initialization process (ACMD41 command retries) is 1 second.
Align to match MMC cards (in mmc_send_op_cond()) and Linux kernel code,
and set the delay between ACMD41 command retries to 10ms.

Change-Id: I2e07cb9944e7d7b72f2d4b13e0505e6751458091
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
parent 19e2af79
...@@ -361,7 +361,7 @@ static int sd_send_op_cond(void) ...@@ -361,7 +361,7 @@ static int sd_send_op_cond(void)
return 0; return 0;
} }
mdelay(1); mdelay(10);
} }
ERROR("ACMD41 failed after %d retries\n", SEND_OP_COND_MAX_RETRIES); ERROR("ACMD41 failed after %d retries\n", SEND_OP_COND_MAX_RETRIES);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment