diff options
author | Guo Dong <guo.dong@intel.com> | 2021-02-11 21:22:45 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-02-12 04:44:12 +0000 |
commit | 649a59bf83f71c06056b25f4e12cad2a8d137d6c (patch) | |
tree | 5f940ff15cc28dbc4a101dc034ab3cdddc8724ce /UefiPayloadPkg | |
parent | cf4cbe194fbdb454a3ea2505e4504d9f23018869 (diff) | |
download | edk2-649a59bf83f71c06056b25f4e12cad2a8d137d6c.tar.gz |
UefiPayloadPkg: Fix PciLib dependency on BlSupportDxe
The PciLib depends on PCDs
- PcdPciExpressBaseAddress
- PcdPciExpressBaseSize
being updated by BlSupportDxe before MMCONF accesses are working.
Add BlSupportDxe to APRIORI to start it first and get the system into
an usable state where at least PCI accesses work reliable.
Fixes a bug where BlSupportDxe is scheduled too late and other DXEs fail
to load due to broken PCI access.
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
Diffstat (limited to 'UefiPayloadPkg')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadPkg.fdf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/UefiPayloadPkg/UefiPayloadPkg.fdf b/UefiPayloadPkg/UefiPayloadPkg.fdf index 05c60ee955..8fc509024b 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.fdf +++ b/UefiPayloadPkg/UefiPayloadPkg.fdf @@ -80,6 +80,11 @@ READ_STATUS = TRUE READ_LOCK_CAP = TRUE
READ_LOCK_STATUS = TRUE
+APRIORI DXE {
+ INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
+ INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
+ INF UefiPayloadPkg/BlSupportDxe/BlSupportDxe.inf
+}
#
# DXE Phase modules
|