diff options
author | Star Zeng <star.zeng@intel.com> | 2016-03-17 13:31:44 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-03-18 15:14:34 +0800 |
commit | 58f025afd52a294d2482cd01eb4752d222918461 (patch) | |
tree | e4ccd1606e5ca6b200df4cf209bc914ed380fe3e /MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf | |
parent | 5811eea0fdb56187597e50b1282e7cfab4965a65 (diff) | |
download | edk2-platforms-58f025afd52a294d2482cd01eb4752d222918461.tar.xz |
MdeModulePkg PlatformVarCleanupLib: Locate VarCheck protocol when using
Do not locate VarCheck protocol in Constructor, then the
gEdkiiVarCheckProtocolGuid could be removed from [Depex].
It will be more flexible for the library Consumer to work without VarCheck
protocol installed, for example at recovery boot mode with EmuRuntimeDxe.
The unused UefiLib is also been removed from [LibraryClasses] in *.inf.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf')
-rw-r--r-- | MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf b/MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf index c56a17584a..a3498cca50 100644 --- a/MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf +++ b/MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf @@ -1,7 +1,7 @@ ## @file
# Sample platform variable cleanup library instance.
#
-# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions
@@ -44,7 +44,6 @@ [LibraryClasses]
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
- UefiLib
BaseLib
DebugLib
BaseMemoryLib
@@ -68,6 +67,5 @@ gEfiHiiConfigRoutingProtocolGuid ## SOMETIMES_CONSUMES
[Depex]
- gEdkiiVarCheckProtocolGuid AND
gEfiVariableArchProtocolGuid
|