[PATCH 2/3] UefiPayloadPkg: Align Identifier value with UPL spec


Ni, Ray
 

Reviewed-by: Ray Ni <ray.ni@...>

-----Original Message-----
From: Guo, Gua <gua.guo@...>
Sent: Thursday, May 26, 2022 8:14 PM
To: devel@edk2.groups.io
Cc: Guo, Gua <gua.guo@...>; Ni, Ray <ray.ni@...>; Dong, Guo <guo.dong@...>
Subject: [PATCH 2/3] UefiPayloadPkg: Align Identifier value with UPL spec

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

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3933

URL: https://universalpayload.github.io/documentation/
Currently, Identifier value is "UPLD", it needs to have correct value
"PLDH" based on Universal Payload Specification spec section 2.12.2

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

diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/UniversalPayloadBuild.py
index 50335d4316..b7fd1505b6 100644
--- a/UefiPayloadPkg/UniversalPayloadBuild.py
+++ b/UefiPayloadPkg/UniversalPayloadBuild.py
@@ -29,7 +29,7 @@ class UPLD_INFO_HEADER(LittleEndianStructure):
]



def __init__(self):

- self.Identifier = b'UPLD'

+ self.Identifier = b'PLDH'

self.HeaderLength = sizeof(UPLD_INFO_HEADER)

self.HeaderRevision = 0x0075

self.Revision = 0x0000010105

--
2.31.1.windows.1