1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 12:21:34 +02:00

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 <andy@openmoko.com>
This commit is contained in:
Andy Green 2009-02-01 19:28:18 +00:00 committed by Andy Green
parent 7132195b32
commit f3c740f11c

View File

@ -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;