From bc1c890e8ea08c133806ed2f5f681e7af64bddb2 Mon Sep 17 00:00:00 2001 From: Jason1 Lin Date: Sat, 27 Jul 2024 18:08:34 +0800 Subject: [PATCH] MdeModulePkg: Add the PcdUfsInitialCompletionTimeout in DEC File REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4820 - Add the PCD to indicate the UFS device initialize completion time - Default value of this PCD value is 600ms Signed-off-by: Jason1 Lin --- MdeModulePkg/MdeModulePkg.dec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 3b484db913..693e45911b 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1704,6 +1704,11 @@ # @Prompt SPI NOR Flash Operation Delay in Microseconds (16 us) gEfiMdeModulePkgTokenSpaceGuid.PcdSpiNorFlashOperationDelayMicroseconds|0x00000010|UINT32|0x00000035 + ## Indicate the default timeout value for UFS device initial completetion in microseconds. + # + # @Prompt UFS device initial completion timoeout (us), default value is 600ms. + gEfiMdeModulePkgTokenSpaceGuid.PcdUfsInitialCompletionTimeout|600000|UINT32|0x00000036 + [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] ## This PCD defines the Console output row. The default value is 25 according to UEFI spec. # This PCD could be set to 0 then console output would be at max column and max row.