public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 43/43] SdMmcPciDxe: Reduce timeout for SD card reset
       [not found] <9dd14fc91c174eae87fd122c7ac70073a363527f.1643663051.git.sean@starlabs.systems>
@ 2022-01-31 21:04 ` Sean Rhodes
  0 siblings, 0 replies; only message in thread
From: Sean Rhodes @ 2022-01-31 21:04 UTC (permalink / raw)
  To: devel; +Cc: Matt DeVillier

From: Matt DeVillier <matt.devillier@gmail.com>

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>
---
 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 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;
 //
 // 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
 
 //
 // SD/MMC async transfer timer interval, set by experience.
-- 
2.32.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-31 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <9dd14fc91c174eae87fd122c7ac70073a363527f.1643663051.git.sean@starlabs.systems>
2022-01-31 21:04 ` [PATCH 43/43] SdMmcPciDxe: Reduce timeout for SD card reset Sean Rhodes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox