mirror of https://github.com/acidanthera/audk.git
832fbc6e32
The code blindly assumes a TIS interface is present in case both CRB and FIFO checks fail. Check the InterfaceType for TIS instead and only return Tpm2PtpInterfaceTis in case it matches, Tpm2PtpInterfaceMax otherwise. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> |
||
---|---|---|
.. | ||
Tpm2DeviceLibDTpm.c | ||
Tpm2DeviceLibDTpm.h | ||
Tpm2DeviceLibDTpm.inf | ||
Tpm2DeviceLibDTpm.uni | ||
Tpm2DeviceLibDTpmBase.c | ||
Tpm2DeviceLibDTpmStandaloneMm.c | ||
Tpm2DeviceLibDTpmStandaloneMm.inf | ||
Tpm2InstanceLibDTpm.c | ||
Tpm2InstanceLibDTpm.inf | ||
Tpm2InstanceLibDTpm.uni | ||
Tpm2Ptp.c | ||
Tpm2Tis.c |