]> git.proxmox.com Git - mirror_edk2.git/commit - UefiPayloadPkg/UefiPayloadPkg.fdf
UefiPayloadPkg: Fix PciLib dependency on BlSupportDxe
authorGuo Dong <guo.dong@intel.com>
Fri, 12 Feb 2021 04:22:45 +0000 (21:22 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 12 Feb 2021 04:44:12 +0000 (04:44 +0000)
commit649a59bf83f71c06056b25f4e12cad2a8d137d6c
tree5f940ff15cc28dbc4a101dc034ab3cdddc8724ce
parentcf4cbe194fbdb454a3ea2505e4504d9f23018869
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>
UefiPayloadPkg/UefiPayloadPkg.fdf