summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirtQemu.fdf
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2020-02-26 20:05:10 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-04 08:48:09 +0000
commitf5cb3767038e90f695fc5c6cd16437fa40c2afe3 (patch)
treead8cc30300d7ba8d6199ac64ddb74006af98b32d /ArmVirtPkg/ArmVirtQemu.fdf
parent39c503f155542fda1a4ec8125e530c917e7771a3 (diff)
downloadedk2-f5cb3767038e90f695fc5c6cd16437fa40c2afe3.tar.gz
edk2-f5cb3767038e90f695fc5c6cd16437fa40c2afe3.tar.bz2
edk2-f5cb3767038e90f695fc5c6cd16437fa40c2afe3.zip
ArmVirtPkg/ArmVirtQemu: add ResetSystem PEIM for upcoming TPM2 support
As a first step in gradually adding TPM2 support to ArmVirtQemu, add the TPM2_ENABLE configurable to the [Defines] section, and if it is set, add the ResetSystem PEIM to the build, along with the library class references that we will need to support it: - wire ArmVirtPsciResetSystemPeiLib into the ResetSystem PEIM itself, which will be in charge of performing the actual reset - add PeiResetSystemLib as the common ResetSystemLib resolution for PEIM class modules, so that other PEIMs will invoke the PPI published by the ResetSystem PEIM. 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/ArmVirtQemu.fdf')
-rw-r--r--ArmVirtPkg/ArmVirtQemu.fdf4
1 files changed, 4 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtQemu.fdf b/ArmVirtPkg/ArmVirtQemu.fdf
index 2c8936a1ae..f55918d26b 100644
--- a/ArmVirtPkg/ArmVirtQemu.fdf
+++ b/ArmVirtPkg/ArmVirtQemu.fdf
@@ -113,6 +113,10 @@ READ_LOCK_STATUS = TRUE
INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
+!if $(TPM2_ENABLE) == TRUE
+ INF MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf
+!endif
+
FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
SECTION FV_IMAGE = FVMAIN