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>
This commit is contained in:
Jiewen Yao 2018-03-14 21:50:42 +08:00
parent 9461604e14
commit 33aaf8d71f
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -70,7 +70,7 @@
PrintLib PrintLib
BaseCryptLib BaseCryptLib
# TcgPhysicalPresenceLib # TcgPhysicalPresenceLib
TrEEPhysicalPresenceLib Tcg2PhysicalPresenceLib
FileHandleLib FileHandleLib
S3BootScriptLib S3BootScriptLib
SerialPortLib SerialPortLib