Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 808f1f1f87c87b4005d9bdf1076b7fc92ad64736
      
https://github.com/tianocore/edk2/commit/808f1f1f87c87b4005d9bdf1076b7fc92ad64736
  Author: Patrick Rudolph <patrick.rudo...@9elements.com>
  Date:   2025-08-12 (Tue, 12 Aug 2025)

  Changed paths:
    A UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.c
    A UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.h
    A UefiPayloadPkg/PciPlatformDxe/PciPlatformDxe.inf
    M UefiPayloadPkg/UefiPayloadPkg.dsc
    M UefiPayloadPkg/UefiPayloadPkg.fdf

  Log Message:
  -----------
  UefiPayloadPkg: Scan for Option ROMs

Since on UefiPayload the full PCI enumeration isn't run, the light
enumeration won't find Option ROMs. The introduced PciPlatform
driver relies on completed PCI enumeration and assumes that all
ROM bars have been properly assigned a free MMIO window.

Installs the gPciPlatformProtocol to scan for Option ROMs during
PCI enumeration light and copies found Option ROMs to runtime allocated
buffers. Only for work devices that have a ROMBAR, but doesn't for
devices that need a VBIOS loaded from SPI flash.

TEST: QEMU can enumerate Option ROMs on VGA and NIC on UefiPayloadPkg.

Signed-off-by: Patrick Rudolph <patrick.rudo...@9elements.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to