]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/PlatformPeiLib: make PcdLib dependency explicit in .INF
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Feb 2020 19:05:07 +0000 (20:05 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Mar 2020 08:48:09 +0000 (08:48 +0000)
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>
ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf

index 46db117ac28ee54c0db03329541fb6b789e54804..5428040f121da1e1941abaf0f752aff7d36c2945 100644 (file)
@@ -29,6 +29,7 @@
   DebugLib\r
   HobLib\r
   FdtLib\r
+  PcdLib\r
 \r
 [FixedPcd]\r
   gArmTokenSpaceGuid.PcdFvSize\r