From e727453a977c261415d1489b8088ed1c07bfc151 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 5 Apr 2021 16:36:11 -0500 Subject: [PATCH] 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 --- MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h index 277f5c0604..40469a558a 100644 --- a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h +++ b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h @@ -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 //