[edk2] [PATCH 01/15] ShellPkg/UefiHandleParsingLib: remove TrEE reference.

Zhang, Chao B posted 15 patches 6 years, 9 months ago
[edk2] [PATCH 01/15] ShellPkg/UefiHandleParsingLib: remove TrEE reference.
Posted by Zhang, Chao B 6 years, 9 months ago
From: Jiewen Yao <jiewen.yao@intel.com>

TrEE is deprecated. We need use Tcg2.

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@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>
---
 ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c   | 1 -
 ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 1 -
 2 files changed, 2 deletions(-)

diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index b7b0246ac9..2d94a52108 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -2349,7 +2349,6 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
   {STRING_TOKEN(STR_I2CEN),                 &gEfiI2cEnumerateProtocolGuid,                    NULL},
   {STRING_TOKEN(STR_I2C_H),                 &gEfiI2cHostProtocolGuid,                         NULL},
   {STRING_TOKEN(STR_I2C_BCM),               &gEfiI2cBusConfigurationManagementProtocolGuid,   NULL},
-  {STRING_TOKEN(STR_TREE),                  &gEfiTrEEProtocolGuid,                            NULL},
   {STRING_TOKEN(STR_TCG2),                  &gEfiTcg2ProtocolGuid,                            NULL},
   {STRING_TOKEN(STR_TIMESTAMP),             &gEfiTimestampProtocolGuid,                       NULL},
   {STRING_TOKEN(STR_RNG),                   &gEfiRngProtocolGuid,                             NULL},
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
index 06e882ac33..05b9a7b769 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
@@ -262,7 +262,6 @@
   gEfiI2cEnumerateProtocolGuid                            ## UNDEFINED
   gEfiI2cHostProtocolGuid                                 ## UNDEFINED
   gEfiI2cBusConfigurationManagementProtocolGuid           ## UNDEFINED
-  gEfiTrEEProtocolGuid                                    ## UNDEFINED
   gEfiTcg2ProtocolGuid                                    ## UNDEFINED
   gEfiTimestampProtocolGuid                               ## UNDEFINED
   gEfiRngProtocolGuid                                     ## UNDEFINED
-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH 01/15] ShellPkg/UefiHandleParsingLib: remove TrEE reference.
Posted by Ni, Ruiyu 6 years, 9 months ago
On 3/15/2018 3:35 PM, Zhang, Chao B wrote:
> From: Jiewen Yao <jiewen.yao@intel.com>
> 
> TrEE is deprecated. We need use Tcg2.
> 
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> Cc: Ruiyu Ni <ruiyu.ni@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>
> ---
>   ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c   | 1 -
>   ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 1 -
>   2 files changed, 2 deletions(-)
> 
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> index b7b0246ac9..2d94a52108 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> @@ -2349,7 +2349,6 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
>     {STRING_TOKEN(STR_I2CEN),                 &gEfiI2cEnumerateProtocolGuid,                    NULL},
>     {STRING_TOKEN(STR_I2C_H),                 &gEfiI2cHostProtocolGuid,                         NULL},
>     {STRING_TOKEN(STR_I2C_BCM),               &gEfiI2cBusConfigurationManagementProtocolGuid,   NULL},
> -  {STRING_TOKEN(STR_TREE),                  &gEfiTrEEProtocolGuid,                            NULL},
>     {STRING_TOKEN(STR_TCG2),                  &gEfiTcg2ProtocolGuid,                            NULL},
>     {STRING_TOKEN(STR_TIMESTAMP),             &gEfiTimestampProtocolGuid,                       NULL},
>     {STRING_TOKEN(STR_RNG),                   &gEfiRngProtocolGuid,                             NULL},
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> index 06e882ac33..05b9a7b769 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> @@ -262,7 +262,6 @@
>     gEfiI2cEnumerateProtocolGuid                            ## UNDEFINED
>     gEfiI2cHostProtocolGuid                                 ## UNDEFINED
>     gEfiI2cBusConfigurationManagementProtocolGuid           ## UNDEFINED
> -  gEfiTrEEProtocolGuid                                    ## UNDEFINED
>     gEfiTcg2ProtocolGuid                                    ## UNDEFINED
>     gEfiTimestampProtocolGuid                               ## UNDEFINED
>     gEfiRngProtocolGuid                                     ## UNDEFINED
> 
Jiewen,
Do we need to remove the STR_TREE from UNI file?

-- 
Thanks,
Ray
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH 01/15] ShellPkg/UefiHandleParsingLib: remove TrEE reference.
Posted by Ni, Ruiyu 6 years, 9 months ago
On 3/16/2018 11:49 AM, Ni, Ruiyu wrote:
> On 3/15/2018 3:35 PM, Zhang, Chao B wrote:
>> From: Jiewen Yao <jiewen.yao@intel.com>
>>
>> TrEE is deprecated. We need use Tcg2.
>>
>> Cc: Jaben Carsey <jaben.carsey@intel.com>
>> Cc: Ruiyu Ni <ruiyu.ni@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>
>> ---
>>   ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c   | 1 -
>>   ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 1 -
>>   2 files changed, 2 deletions(-)
>>
>> diff --git 
>> a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c 
>> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
>> index b7b0246ac9..2d94a52108 100644
>> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
>> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
>> @@ -2349,7 +2349,6 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
>>     {STRING_TOKEN(STR_I2CEN),                 
>> &gEfiI2cEnumerateProtocolGuid,                    NULL},
>>     {STRING_TOKEN(STR_I2C_H),                 
>> &gEfiI2cHostProtocolGuid,                         NULL},
>>     {STRING_TOKEN(STR_I2C_BCM),               
>> &gEfiI2cBusConfigurationManagementProtocolGuid,   NULL},
>> -  {STRING_TOKEN(STR_TREE),                  
>> &gEfiTrEEProtocolGuid,                            NULL},
>>     {STRING_TOKEN(STR_TCG2),                  
>> &gEfiTcg2ProtocolGuid,                            NULL},
>>     {STRING_TOKEN(STR_TIMESTAMP),             
>> &gEfiTimestampProtocolGuid,                       NULL},
>>     {STRING_TOKEN(STR_RNG),                   
>> &gEfiRngProtocolGuid,                             NULL},
>> diff --git 
>> a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf 
>> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
>> index 06e882ac33..05b9a7b769 100644
>> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
>> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
>> @@ -262,7 +262,6 @@
>>     gEfiI2cEnumerateProtocolGuid                            ## UNDEFINED
>>     gEfiI2cHostProtocolGuid                                 ## UNDEFINED
>>     gEfiI2cBusConfigurationManagementProtocolGuid           ## UNDEFINED
>> -  gEfiTrEEProtocolGuid                                    ## UNDEFINED
>>     gEfiTcg2ProtocolGuid                                    ## UNDEFINED
>>     gEfiTimestampProtocolGuid                               ## UNDEFINED
>>     gEfiRngProtocolGuid                                     ## UNDEFINED
>>
> Jiewen,
> Do we need to remove the STR_TREE from UNI file?
> 
Reviewed-by: Ruiyu Ni <ruiyu.ni@Intel.com>

Please remember to remove the STR_TREE from UNI file before commit.

-- 
Thanks,
Ray
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel