From: Gua Guo Date: Thu, 26 May 2022 09:37:44 +0000 (+0800) Subject: UefiPayloadPkg: Align SpecRevision value with UPL spec X-Git-Tag: edk2-stable202208~213 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=dac2fc8146e42ef19cd50ecbe32ccb7705b76fa3;p=mirror_edk2.git UefiPayloadPkg: Align SpecRevision value with UPL spec REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3933 URL: https://universalpayload.github.io/documentation/ 1. Currently, SpecRevision on USF spec is 0.7. Change to align it. 2. SpecRevision is not be patched into UniversalPayloadInfo.bin due to different structure item name. Change item name from "HeaderRevision" to "SpecRevision" to check the correct value can be patched. Reviewed-by: Ray Ni Reviewed-by: Guo Dong Signed-off-by: Gua Guo --- diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/UniversalPayloadBuild.py index b7fd1505b6..089d631b51 100644 --- a/UefiPayloadPkg/UniversalPayloadBuild.py +++ b/UefiPayloadPkg/UniversalPayloadBuild.py @@ -31,7 +31,7 @@ class UPLD_INFO_HEADER(LittleEndianStructure): def __init__(self): self.Identifier = b'PLDH' self.HeaderLength = sizeof(UPLD_INFO_HEADER) - self.HeaderRevision = 0x0075 + self.SpecRevision = 0x0007 self.Revision = 0x0000010105 self.ImageId = b'UEFI' self.ProducerId = b'INTEL'