summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2020-02-26 20:05:13 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-04 08:48:09 +0000
commite521b3c54edf6f6251c71da44086a1022ad90c94 (patch)
tree82f3357016984cd8cf9ef38c914e5b8b97e3e0a2 /ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc
parent82f6f44fc4bf76f4037aac5f76e93b35e851e585 (diff)
downloadedk2-e521b3c54edf6f6251c71da44086a1022ad90c94.tar.gz
edk2-e521b3c54edf6f6251c71da44086a1022ad90c94.tar.bz2
edk2-e521b3c54edf6f6251c71da44086a1022ad90c94.zip
ArmVirtPkg/ArmVirtQemu: enable the TPM2 configuration module
Enable the DXE phase component that publishes the HII pages and associated logic to enable TPM2 parameters to be configured by the user via the setup menu. This patch ports (parts of) the following commits to ArmVirtQemu: - 3103389043bd ("OvmfPkg: Add TCG2 Configuration menu to the Device Manager menu", 2019-02-11) - cf3ad972a210 ("OvmfPkg: reorganize TPM2 support in DSC/FDF files", 2020-01-09) - f55477fe2d62 ("OvmfPkg: use HII type PCDs for TPM2 config related variables", 2020-01-09) Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2560 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc')
-rw-r--r--ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc
index a93a9970c8..211f7aeb6f 100644
--- a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc
+++ b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc
@@ -178,6 +178,9 @@ READ_LOCK_STATUS = TRUE
#
!if $(TPM2_ENABLE) == TRUE
INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
+!if $(TPM2_CONFIG_ENABLE) == TRUE
+ INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
+!endif
!endif
#