summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuo Dong <guo.dong@intel.com>2021-02-11 21:22:45 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-02-12 04:44:12 +0000
commit649a59bf83f71c06056b25f4e12cad2a8d137d6c (patch)
tree5f940ff15cc28dbc4a101dc034ab3cdddc8724ce
parentcf4cbe194fbdb454a3ea2505e4504d9f23018869 (diff)
downloadedk2-649a59bf83f71c06056b25f4e12cad2a8d137d6c.tar.gz
edk2-649a59bf83f71c06056b25f4e12cad2a8d137d6c.tar.bz2
edk2-649a59bf83f71c06056b25f4e12cad2a8d137d6c.zip
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>
-rw-r--r--UefiPayloadPkg/UefiPayloadPkg.fdf5
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