]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg PlatformVarCleanupLib: Locate VarCheck protocol when using
authorStar Zeng <star.zeng@intel.com>
Thu, 17 Mar 2016 05:31:44 +0000 (13:31 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 18 Mar 2016 07:14:34 +0000 (15:14 +0800)
commit58f025afd52a294d2482cd01eb4752d222918461
treee4ccd1606e5ca6b200df4cf209bc914ed380fe3e
parent5811eea0fdb56187597e50b1282e7cfab4965a65
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>
MdeModulePkg/Library/PlatformVarCleanupLib/PlatVarCleanupLib.c
MdeModulePkg/Library/PlatformVarCleanupLib/PlatformVarCleanupLib.inf