summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-06-18 22:57:44 +0800
committerLiming Gao <liming.gao@intel.com>2018-06-25 11:16:50 +0800
commit363c3fe2537a20fe92d7cd9307bd75df99888ce8 (patch)
tree7948ec771d89212459f8d8694fc24f110622eb44 /MdeModulePkg
parente0fb2d3e5d4b1d8477e9658adfbeeee43615083f (diff)
downloadedk2-363c3fe2537a20fe92d7cd9307bd75df99888ce8.tar.gz
edk2-363c3fe2537a20fe92d7cd9307bd75df99888ce8.tar.bz2
edk2-363c3fe2537a20fe92d7cd9307bd75df99888ce8.zip
MdeModulePkg BdsDxe: Correct VariableLockProtocol usage to match code logic
BdsEntry marks the read-only variables if the Variable Lock protocol exists. So, this protocol usage is updated from CONSUMES to SOMETIMES_CONSUMES. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/BdsDxe/BdsDxe.inf2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf b/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
index b8c5aa9795..eb78d06176 100644
--- a/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
+++ b/MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
@@ -83,7 +83,7 @@
[Protocols]
gEfiBdsArchProtocolGuid ## PRODUCES
gEfiSimpleTextInputExProtocolGuid ## CONSUMES
- gEdkiiVariableLockProtocolGuid ## CONSUMES
+ gEdkiiVariableLockProtocolGuid ## SOMETIMES_CONSUMES
gEfiDeferredImageLoadProtocolGuid ## CONSUMES
[FeaturePcd]