[edk2-devel] [PATCH 2/2] UefiPayloadPkg: Hookup SD/MMC timeout

Ma, Maurice maurice.ma at intel.com
Fri Feb 18 14:56:53 UTC 2022


Reviewed-by: Maurice Ma <maurice.ma at intel.com>

> -----Original Message-----
> From: Sean Rhodes <sean at starlabs.systems>
> Sent: Friday, February 18, 2022 6:52
> To: devel at edk2.groups.io
> Cc: Dong, Guo <guo.dong at intel.com>; Rhodes, Sean <sean at starlabs.systems>;
> Ni, Ray <ray.ni at intel.com>; Ma, Maurice <maurice.ma at intel.com>; You,
> Benjamin <benjamin.you at intel.com>
> Subject: [PATCH 2/2] UefiPayloadPkg: Hookup SD/MMC timeout
> 
> Hook SD_MMC_TIMEOUT build option to SdMmcGenericTimeoutValue PCD.
> 
> Cc: Guo Dong <guo.dong at intel.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Cc: Maurice Ma <maurice.ma at intel.com>
> Cc: Benjamin You <benjamin.you at intel.com>
> Signed-off-by: Sean Rhodes <sean at starlabs.systems>
> ---
>  UefiPayloadPkg/UefiPayloadPkg.dsc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc
> b/UefiPayloadPkg/UefiPayloadPkg.dsc
> index 1ce96a51c1..23c2787a94 100644
> --- a/UefiPayloadPkg/UefiPayloadPkg.dsc
> +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc
> @@ -33,6 +33,7 @@
>    DEFINE UNIVERSAL_PAYLOAD            = FALSE
> 
>    DEFINE SECURITY_STUB_ENABLE         = TRUE
> 
>    DEFINE SMM_SUPPORT                  = FALSE
> 
> +  DEFINE SD_MMC_TIMEOUT               = 1000000
> 
>    #
> 
>    # SBL:      UEFI payload for Slim Bootloader
> 
>    # COREBOOT: UEFI payload for coreboot
> 
> @@ -398,6 +399,7 @@
>  !if $(PERFORMANCE_MEASUREMENT_ENABLE)
> 
>    gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask       | 0x1
> 
>  !endif
> 
> +
> gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue|$(SD_MM
> C_TIMEOUT)
> 
> 
> 
>  [PcdsPatchableInModule.X64]
> 
> 
> gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|$(RTC_INDEX_REGISTER)
> 
> --
> 2.32.0



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#86760): https://edk2.groups.io/g/devel/message/86760
Mute This Topic: https://groups.io/mt/89233819/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list