]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg; avoid DxeTpmMeasurementLib in shared .DSC
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 27 Feb 2020 14:12:32 +0000 (15:12 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Mar 2020 08:48:09 +0000 (08:48 +0000)
commitc241c96f8578251c2d26b81eb384b409a1a9f8e2
tree1314edea357f6259dd7d2c587e1eaeb7f14ffb9a
parentddd34a818315d8b8c7866cee7c772d3f63decba7
ArmVirtPkg; avoid DxeTpmMeasurementLib in shared .DSC

DxeTpmMeasurementLib should only be used on platforms that implement
measured boot, which we will do in a future patch, but only for
ArmVirtQemu, as the remaining ones are fundamentally incompatible,
given that they do not implement a PEI phase.

So use TpmMeasurementLibNull as the default resolution for all
ArmVirtPkg platforms, regardless of how they are built.

This mirrors commit 1ec05b81e59f ("OvmfPkg: use DxeTpmMeasurementLib
if and only if TPM2_ENABLE", 2019-07-04).

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>
ArmVirtPkg/ArmVirt.dsc.inc