From f3c740f11ce7a27f04ecddbd6dd6edf9d26e9351 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 1 Feb 2009 19:28:18 +0000 Subject: [PATCH] qi-reduce-glamo-mmc-wait-delay.patch 3000 retries is a very long time for an SD card to wake up, far longer than should be necessary. This patch reduces it to 1000. Signed-off-by: Andy Green --- qiboot/src/drivers/glamo-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiboot/src/drivers/glamo-mmc.c b/qiboot/src/drivers/glamo-mmc.c index 8f649d1..c3b92c3 100644 --- a/qiboot/src/drivers/glamo-mmc.c +++ b/qiboot/src/drivers/glamo-mmc.c @@ -609,7 +609,7 @@ static void print_sd_cid(const struct sd_cid *cid) int mmc_init(int verbose) { - int retries = 3000, rc = -1; + int retries = 1000, rc = -1; int resp; u8 response[16]; // mmc_cid_t *mmc_cid = (mmc_cid_t *)response;