summaryrefslogtreecommitdiff
path: root/OvmfPkg/OvmfPkgX64.dsc
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2021-09-15 09:25:06 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-09-30 00:00:08 +0000
commitbd298d75934a7a0cf6b9e2863a5e4975e9714285 (patch)
tree5369f4d41bf5b97ca0cbfc8ca8abd39068796e04 /OvmfPkg/OvmfPkgX64.dsc
parent8ab8fbc016e789bb45b2c8fb7a6887a28cc32353 (diff)
downloadedk2-bd298d75934a7a0cf6b9e2863a5e4975e9714285.zip
edk2-bd298d75934a7a0cf6b9e2863a5e4975e9714285.tar.gz
edk2-bd298d75934a7a0cf6b9e2863a5e4975e9714285.tar.bz2
OvmfPkg: Reference new Tcg2PlatformPei in the build system
Compile the Tcg2PlatformPei related code now to support TPM 2 platform hierachy disablement if the TPM state cannot be resumed upon S3 resume. Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Peter Grehan <grehan@freebsd.org> Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Min Xu <min.m.xu@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/OvmfPkgX64.dsc')
-rw-r--r--OvmfPkg/OvmfPkgX64.dsc4
1 files changed, 4 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
index 8aca437..52f7598 100644
--- a/OvmfPkg/OvmfPkgX64.dsc
+++ b/OvmfPkg/OvmfPkgX64.dsc
@@ -729,6 +729,10 @@
NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf
NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf
}
+ SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf {
+ <LibraryClasses>
+ TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf
+ }
!endif
#