public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: gua.guo@intel.com
To: devel@edk2.groups.io
Cc: Gua Guo <gua.guo@intel.com>, Ray Ni <ray.ni@intel.com>,
	Guo Dong <guo.dong@intel.com>
Subject: [PATCH 3/3] UefiPayloadPkg: Align SpecRevision value with UPL spec
Date: Thu, 26 May 2022 20:14:28 +0800	[thread overview]
Message-ID: <20220526121428.1590-4-gua.guo@intel.com> (raw)
In-Reply-To: <20220526121428.1590-1-gua.guo@intel.com>

From: Gua Guo <gua.guo@intel.com>

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.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Guo Dong <guo.dong@intel.com>
Signed-off-by: Gua Guo <gua.guo@intel.com>
---
 UefiPayloadPkg/UniversalPayloadBuild.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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'
-- 
2.31.1.windows.1


  parent reply	other threads:[~2022-05-26 12:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 12:14 [PATCHv1 0/3] UefiPayloadPkg align with USF spec gua.guo
2022-05-26 12:14 ` [PATCH 1/3] MdeModulePkg/UniversalPayload: Align Identifier value with UPL spec gua.guo
2022-05-26 12:16   ` Ni, Ray
2022-05-26 12:14 ` [PATCH 2/3] UefiPayloadPkg: " gua.guo
2022-05-26 12:16   ` Ni, Ray
2022-05-27  6:03   ` Guo Dong
2022-05-26 12:14 ` gua.guo [this message]
2022-05-26 12:16   ` [PATCH 3/3] UefiPayloadPkg: Align SpecRevision " Ni, Ray
2022-05-27  6:00   ` Guo Dong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220526121428.1590-4-gua.guo@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox