mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/PciBusDxe: dispatch option ROMs for foreign architectures
Delete the explicit machine type check for option ROM images, and instead, rely on the LoadImage() boot service to decide whether an option ROM can be dispatched or not. This permits platforms to ship with emulators to execute option ROMs that are not native to the processor architecture. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
This commit is contained in:
parent
57df17fe26
commit
615a72400b
|
@ -693,13 +693,6 @@ ProcessOpRomImage (
|
|||
goto NextImage;
|
||||
}
|
||||
|
||||
//
|
||||
// Skip the EFI PCI Option ROM image if its machine type is not supported
|
||||
//
|
||||
if (!EFI_IMAGE_MACHINE_TYPE_SUPPORTED (EfiRomHeader->EfiMachineType)) {
|
||||
goto NextImage;
|
||||
}
|
||||
|
||||
//
|
||||
// Ignore the EFI PCI Option ROM image if it is an EFI application
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue