UefiPayloadPkg/Library/PciHostBridgeLib: Add warning for coreboot/EDK2 incompability

EDK2 expects PCI bars to be continously be allocated without "gaps" of reserverd
memory in between.
coreboot places PCI bars anyware in the PCI MMIO space, interleaved with MMCONF
and reserved I/O MMIO space.

Warn about this behaviour and refuse to add the BAR to the PCI aperature as it would
cause the PciHostBridgeDxe fo fail.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
Patrick Rudolph
2020-10-12 07:55:44 -06:00
committed by Jeremy Soller
parent d90d84a4f7
commit 599f4a4ddd
2 changed files with 81 additions and 0 deletions

View File

@@ -39,3 +39,4 @@
DevicePathLib
MemoryAllocationLib
PciLib
DxeServicesTableLib