mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 04:26:16 +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:
parent
7132195b32
commit
f3c740f11c
@ -609,7 +609,7 @@ static void print_sd_cid(const struct sd_cid *cid)
|
|||||||
|
|
||||||
int mmc_init(int verbose)
|
int mmc_init(int verbose)
|
||||||
{
|
{
|
||||||
int retries = 3000, rc = -1;
|
int retries = 1000, rc = -1;
|
||||||
int resp;
|
int resp;
|
||||||
u8 response[16];
|
u8 response[16];
|
||||||
// mmc_cid_t *mmc_cid = (mmc_cid_t *)response;
|
// mmc_cid_t *mmc_cid = (mmc_cid_t *)response;
|
||||||
|
Loading…
Reference in New Issue
Block a user