mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
Loop on sdcard init. This helps if one hasn't plugged in the card
fast enough, or there's other issues that cause the first try to fail.
This commit is contained in:
parent
1ce2bc9187
commit
cf5bdd4446
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168279
@ -148,8 +148,9 @@ main(void)
|
||||
|
||||
board_init();
|
||||
EMAC_Init();
|
||||
sdcard_init();
|
||||
EMAC_SetMACAddress(mac);
|
||||
while (sdcard_init() == 0)
|
||||
printf("Looking for SD card\n");
|
||||
|
||||
dmadat = (void *)(0x20000000 + (16 << 20));
|
||||
/* Process configuration file */
|
||||
|
Loading…
Reference in New Issue
Block a user