]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiPayloadPkg: Align SpecRevision value with UPL spec
authorGua Guo <gua.guo@intel.com>
Thu, 26 May 2022 09:37:44 +0000 (17:37 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 27 May 2022 16:15:26 +0000 (16:15 +0000)
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 <ray.ni@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
Signed-off-by: Gua Guo <gua.guo@intel.com>
UefiPayloadPkg/UniversalPayloadBuild.py

index b7fd1505b685629aebca6ea1cf85a7e78bf0169c..089d631b516a32103a87bee6edecac1088a03910 100644 (file)
@@ -31,7 +31,7 @@ class UPLD_INFO_HEADER(LittleEndianStructure):
     def __init__(self):\r
         self.Identifier     =  b'PLDH'\r
         self.HeaderLength   = sizeof(UPLD_INFO_HEADER)\r
-        self.HeaderRevision = 0x0075\r
+        self.SpecRevision   = 0x0007\r
         self.Revision       = 0x0000010105\r
         self.ImageId        = b'UEFI'\r
         self.ProducerId     = b'INTEL'\r