From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.19043.1653567277819665133 for ; Thu, 26 May 2022 05:14:39 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=B5vOr/rg; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: gua.guo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653567278; x=1685103278; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tn9S+bXb8vQ6siwH9dTrDj0GF61ijpqEhpsH61wFV7o=; b=B5vOr/rgn6rNxSZ9ygExJI3uMmJmxrzFHicol9CT9xSy92V2/WJ3zYSE bZzn71yggWCHjPeJSRj7b+0EurwljNw+jRnMFE4bxpTa5kOcwTcnKp+z+ lJzLuY/ANujovNFxhTrHGN2dToklWcnrtqXI5xQyiX6GwwT99EWnjqUQ7 R5OqK/JlDEmDHToKJoVCX7m/6h28TuVE72fT42SoJe+EHroKJl0g+vwf0 Y6CFUGVrYHFEJ0wR3Drofs61GvAPg6iv0ZZ1UJeksZF4Fl/s3yZQwqBzS JgNEtH+jVnlO0UoZWZvdZM8TC2ThAKamquYstFGfABYbziuuxY5IIC4qp g==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="334780155" X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="334780155" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 05:14:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="642857059" Received: from gguo-desk.gar.corp.intel.com ([10.5.215.23]) by fmsmga004.fm.intel.com with ESMTP; 26 May 2022 05:14:37 -0700 From: gua.guo@intel.com To: devel@edk2.groups.io Cc: Gua Guo , Ray Ni , Guo Dong Subject: [PATCH 3/3] UefiPayloadPkg: Align SpecRevision value with UPL spec Date: Thu, 26 May 2022 20:14:28 +0800 Message-Id: <20220526121428.1590-4-gua.guo@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20220526121428.1590-1-gua.guo@intel.com> References: <20220526121428.1590-1-gua.guo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Gua Guo REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3933 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 Cc: Guo Dong Signed-off-by: Gua Guo --- UefiPayloadPkg/UniversalPayloadBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/Unive= rsalPayloadBuild.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):=0D self.Identifier =3D b'PLDH'=0D self.HeaderLength =3D sizeof(UPLD_INFO_HEADER)=0D - self.HeaderRevision =3D 0x0075=0D + self.SpecRevision =3D 0x0007=0D self.Revision =3D 0x0000010105=0D self.ImageId =3D b'UEFI'=0D self.ProducerId =3D b'INTEL'=0D --=20 2.31.1.windows.1