SdMmcPciDxe: Reduce timeout for SD card reset

Previous 1s timeout causeed stalls on boot splash with no benefit.
Reduced to 100ms and no interruptions to boot when no SD card inserted.

Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
Matt DeVillier
2021-04-05 16:36:11 -05:00
committed by Tim Crawford
parent 553bda4d8e
commit e727453a97

View File

@@ -57,7 +57,7 @@ extern EDKII_SD_MMC_OVERRIDE *mOverride;
//
// Generic time out value, 1 microsecond as unit.
//
#define SD_MMC_HC_GENERIC_TIMEOUT 1 * 1000 * 1000
#define SD_MMC_HC_GENERIC_TIMEOUT 1 * 1000 * 100
#define SD_MMC_CLOCK_STABLE_TIMEOUT 3 * 1000
//