mmc: core: modify the power-on initialization timeout to 1 second

The commit af02b05e59 ("mmc: add thunder boot support") reduced
the timeout time by mistake, which will cause mmc initialization error.

Fixes: af02b05e59 ("mmc: add thunder boot support")
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ie84d20104d2ea389c2369d6d1985c6dae0de054f
This commit is contained in:
Yifeng Zhao 2023-02-27 10:49:36 +08:00 committed by Tao Huang
parent a919c35a83
commit 6770b7eee9

View File

@ -179,7 +179,7 @@ int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
cmd.arg = mmc_host_is_spi(host) ? 0 : ocr;
cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R3 | MMC_CMD_BCR;
for (i = 100; i; i--) {
for (i = 1000; i; i--) {
err = mmc_wait_for_cmd(host, &cmd, 0);
if (err)
break;