Browse Source

U5SeriesPkg/RamFvbServicesRuntimeDxe: Add PcdProtocol as dependency

This will ensure that it is dispatched properly by the DXE dispatcher,
which means it doesn't have to go in the APRIORI section.

Signed-off-by: Daniel Schaefer <daniel.schaefer@hpe.com>

Cc: Abner Chang <abner.chang@hpe.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Daniel Schaefer 4 years ago
parent
commit
da97934126

+ 5 - 1
Platform/SiFive/U5SeriesPkg/Universal/Dxe/RamFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf

@@ -57,6 +57,10 @@
 [Protocols]
   gEfiFirmwareVolumeBlockProtocolGuid           # PROTOCOL SOMETIMES_PRODUCED
   gEfiDevicePathProtocolGuid                    # PROTOCOL SOMETIMES_PRODUCED
+  gPcdProtocolGuid                              # SOMETIMES_CONSUMES
+  gEfiPcdProtocolGuid                           # CONSUMES
+  gGetPcdInfoProtocolGuid                       # SOMETIMES_CONSUMES
+  gEfiGetPcdInfoProtocolGuid                    # SOMETIMES_CONSUMES
 
 [FixedPcd]
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
@@ -77,4 +81,4 @@
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
 
 [Depex]
-  TRUE
+  gEfiPcdProtocolGuid