[edk2] [PATCH 2/7] SecurityPkg TcgStorageOpalLib: Make it be base type really

Star Zeng posted 7 patches 7 years, 11 months ago
There is a newer version of this series
[edk2] [PATCH 2/7] SecurityPkg TcgStorageOpalLib: Make it be base type really
Posted by Star Zeng 7 years, 11 months ago
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
 SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
index ec26111ee2c3..78e47387a981 100644
--- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
+++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
@@ -3,7 +3,7 @@
 #
 #  This module is used to provide API used by Opal password solution.
 #
-# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
 # This program and the accompanying materials
 # are licensed and made available under the terms and conditions of the BSD License
 # which accompanies this distribution. The full text of the license may be found at
@@ -18,7 +18,7 @@ [Defines]
   FILE_GUID                      = F8B56221-FD5D-4215-B578-C3574AD1E253
   VERSION_STRING                 = 1.0
   MODULE_TYPE                    = BASE
-  LIBRARY_CLASS                  = TcgStorageOpalLib|DXE_DRIVER DXE_CORE DXE_SMM_DRIVER
+  LIBRARY_CLASS                  = TcgStorageOpalLib
 
 #
 # The following information is for reference only and not required by the build tools.
@@ -37,11 +37,7 @@ [LibraryClasses]
   DebugLib
   TimerLib
   TcgStorageCoreLib
-  UefiLib
 
 [Packages]
   MdePkg/MdePkg.dec
   SecurityPkg/SecurityPkg.dec
-
-[Protocols]
-  gEfiStorageSecurityCommandProtocolGuid                         ## CONSUMES
-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH 2/7] SecurityPkg TcgStorageOpalLib: Make it be base type really
Posted by Yao, Jiewen 7 years, 11 months ago
Reviewed-by: Jiewen.yao@intel.com

> -----Original Message-----
> From: Zeng, Star
> Sent: Tuesday, March 6, 2018 10:28 PM
> To: edk2-devel@lists.01.org
> Cc: Zeng, Star <star.zeng@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>;
> Dong, Eric <eric.dong@intel.com>; Zhang, Chao B <chao.b.zhang@intel.com>
> Subject: [PATCH 2/7] SecurityPkg TcgStorageOpalLib: Make it be base type really
> 
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Eric Dong <eric.dong@intel.com>
> Cc: Chao Zhang <chao.b.zhang@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> ---
>  SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)
> 
> diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
> b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
> index ec26111ee2c3..78e47387a981 100644
> --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
> +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalLib.inf
> @@ -3,7 +3,7 @@
>  #
>  #  This module is used to provide API used by Opal password solution.
>  #
> -# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> +# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
>  # This program and the accompanying materials
>  # are licensed and made available under the terms and conditions of the BSD
> License
>  # which accompanies this distribution. The full text of the license may be found
> at
> @@ -18,7 +18,7 @@ [Defines]
>    FILE_GUID                      =
> F8B56221-FD5D-4215-B578-C3574AD1E253
>    VERSION_STRING                 = 1.0
>    MODULE_TYPE                    = BASE
> -  LIBRARY_CLASS                  = TcgStorageOpalLib|DXE_DRIVER
> DXE_CORE DXE_SMM_DRIVER
> +  LIBRARY_CLASS                  = TcgStorageOpalLib
> 
>  #
>  # The following information is for reference only and not required by the build
> tools.
> @@ -37,11 +37,7 @@ [LibraryClasses]
>    DebugLib
>    TimerLib
>    TcgStorageCoreLib
> -  UefiLib
> 
>  [Packages]
>    MdePkg/MdePkg.dec
>    SecurityPkg/SecurityPkg.dec
> -
> -[Protocols]
> -  gEfiStorageSecurityCommandProtocolGuid                         ##
> CONSUMES
> --
> 2.7.0.windows.1

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