From da03183cd0da9e0623990da1c525736598b9ca63 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Sat, 16 Aug 2014 16:19:11 +0000 Subject: [PATCH] MdePkg: library INF files should reference feature PCDs under [FeaturePcd] This patch updates users of PcdVerifyNodeInList and PcdValidateOrderedCollection. Suggested-by: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15814 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/BaseLib.inf | 2 ++ .../BaseOrderedCollectionRedBlackTreeLib.inf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index d431ff0c0e..36246ed926 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -504,4 +504,6 @@ gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength + +[FeaturePcd] gEfiMdePkgTokenSpaceGuid.PcdVerifyNodeInList diff --git a/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf b/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf index 4546725569..8c17e6e5ba 100644 --- a/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf +++ b/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf @@ -45,5 +45,5 @@ DebugLib MemoryAllocationLib -[Pcd] - gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection ## CONSUMES +[FeaturePcd] + gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection