Vlv2TbltDevicePkg/Bds: use Tcg2 instead of TrEE.

TrEE is deprecated. We need use Tcg2.

Cc: David Wei <david.wei@intel.com>
Cc: Mang Guo <mang.guo@intel.com>
Cc: Chao B Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com>
Reviewed-by: Mang Guo <mang.guo@intel.com>
(cherry picked from commit 33aaf8d71f)
This commit is contained in:
Jiewen Yao
2018-03-14 21:50:42 +08:00
parent 5a4224fded
commit f03a5c11bc
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ Abstract:
#include "SetupMode.h"
#include <Guid/SetupVariable.h>
#include <Library/TcgPhysicalPresenceLib.h>
#include <Library/TrEEPhysicalPresenceLib.h>
#include <Library/Tcg2PhysicalPresenceLib.h>
#include <Protocol/I2cMasterMcg.h>
#include <TianoApi.h>
#include <PlatformBaseAddresses.h>
@ -1795,7 +1795,7 @@ PlatformBdsPolicyBehavior (
TcgPhysicalPresenceLibProcessRequest();
#endif
#ifdef FTPM_ENABLE
TrEEPhysicalPresenceLibProcessRequest(NULL);
Tcg2PhysicalPresenceLibProcessRequest(NULL);
#endif
if (EsrtManagement != NULL) {
@ -2005,7 +2005,7 @@ FULL_CONFIGURATION:
TcgPhysicalPresenceLibProcessRequest();
#endif
#ifdef FTPM_ENABLE
TrEEPhysicalPresenceLibProcessRequest(NULL);
Tcg2PhysicalPresenceLibProcessRequest(NULL);
#endif
if (EsrtManagement != NULL) {

View File

@ -70,7 +70,7 @@
BaseMemoryLib
DebugLib
PcdLib
GenericBdsLib
GenericBdsLib
DevicePathLib
NetLib
UefiLib