summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/OvmfPkgIa32X64.fdf
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2019-01-25 16:30:29 -0500
committerLaszlo Ersek <lersek@redhat.com>2019-02-11 13:13:13 +0100
commit3103389043bd7389fd7cef3eb291a2150af8b929 (patch)
treeef0a1e28fbdbcb02fc379ea4474366b4084f0518 /OvmfPkg/OvmfPkgIa32X64.fdf
parent8a1a7774d23297891bd4efc2e9bceebdcff1679a (diff)
downloadedk2-3103389043bd7389fd7cef3eb291a2150af8b929.tar.gz
edk2-3103389043bd7389fd7cef3eb291a2150af8b929.tar.bz2
edk2-3103389043bd7389fd7cef3eb291a2150af8b929.zip
OvmfPkg: Add TCG2 Configuration menu to the Device Manager menu
This patch adds the TCG2 Configuration menu to the Device Manager menu. We can apparently reuse the sample Tcg2ConfigDxe from SecurityPkg/Tcg/Tcg2Config without obvious adverse effects. The added TCG2 Configuration menu now shows details about the attached TPM 2.0 and lets one for example configure the active PCR banks or issue commands, among other things. The code is added to Ovmf by building with -DTPM2_ENABLE and -DTPM2_CONFIG_ENABLE. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'OvmfPkg/OvmfPkgIa32X64.fdf')
-rw-r--r--OvmfPkg/OvmfPkgIa32X64.fdf3
1 files changed, 3 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf
index afaa334384..d0cc107928 100644
--- a/OvmfPkg/OvmfPkgIa32X64.fdf
+++ b/OvmfPkg/OvmfPkgIa32X64.fdf
@@ -388,6 +388,9 @@ INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
!if $(TPM2_ENABLE) == TRUE
INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
+!if $(TPM2_CONFIG_ENABLE) == TRUE
+INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
+!endif
!endif
################################################################################