38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From 4b9b1a6908eae0440b0d230d3ac39c6ff2a3f15f Mon Sep 17 00:00:00 2001
|
|
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
|
|
Date: Wed, 26 Feb 2020 20:05:07 +0100
|
|
Subject: [PATCH 04/13] ArmVirtPkg/PlatformPeiLib: make PcdLib dependency
|
|
explicit in .INF
|
|
|
|
We currently include PcdLib.h in PlatformPeiLib, without declaring
|
|
this dependency in its .INF description. Since all the PCDs we use
|
|
resolve to fixed type in practice, this does not really matter at
|
|
the moment, but since we will be adding dynamic PCD references in
|
|
a subsequent patch, let's make the PcdLib dependency explicit, so
|
|
that its dispatch is guaranteed to be ordered correctly with respect
|
|
to the provider of the dynamic PCD PPI.
|
|
|
|
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2560
|
|
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
|
|
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
|
|
Signed-off-by: jiangfangjie <jiangfangjie@huawei.com>
|
|
---
|
|
ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf b/ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
|
|
index 46db117..1ef04d1 100644
|
|
--- a/ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
|
|
+++ b/ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf
|
|
@@ -29,6 +29,7 @@
|
|
DebugLib
|
|
HobLib
|
|
FdtLib
|
|
+ PcdLib
|
|
|
|
[FixedPcd]
|
|
gArmTokenSpaceGuid.PcdFvSize
|
|
--
|
|
2.18.2
|
|
|