From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smarthost01c.sbp.mail.zen.net.uk (smarthost01c.sbp.mail.zen.net.uk [212.23.1.5]) by mx.groups.io with SMTP id smtpd.web12.1989.1644528305050166414 for ; Thu, 10 Feb 2022 13:25:05 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=permerror, err=parse error for token &{10 18 sdn.klaviyomail.com}: permanent DNS error (domain: starlabs.systems, ip: 212.23.1.5, mailfrom: sean@starlabs.systems) Received: from [217.155.46.38] (helo=sean-StarBook.lan) by smarthost01c.sbp.mail.zen.net.uk with esmtp (Exim 4.90_1) (envelope-from ) id 1nIGw3-0007SN-3x; Thu, 10 Feb 2022 21:25:03 +0000 From: "Sean Rhodes" To: devel@edk2.groups.io Cc: hao.a.wu@intel.com, Matt DeVillier Subject: [PATCH 09/18] SdMmcPciDxe: Reduce timeout for SD card reset Date: Thu, 10 Feb 2022 21:25:01 +0000 Message-Id: <5bb2cf0ef0b2602aad18e486ce0546309154fa1b.1644527848.git.sean@starlabs.systems> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-Originating-smarthost01c-IP: [217.155.46.38] Feedback-ID: 217.155.46.38 Content-Transfer-Encoding: quoted-printable From: Matt DeVillier 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/MdeModule= Pkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h index 85e09cf114..81fae8e262 100644 --- a/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h +++ b/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h @@ -49,7 +49,7 @@ extern EDKII_SD_MMC_OVERRIDE *mOverride; //=0D // Generic time out value, 1 microsecond as unit.=0D //=0D -#define SD_MMC_HC_GENERIC_TIMEOUT 1 * 1000 * 1000=0D +#define SD_MMC_HC_GENERIC_TIMEOUT 1 * 1000 * 100=0D =0D //=0D // SD/MMC async transfer timer interval, set by experience.=0D --=20 2.32.0