]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c
MdeModulePkg/PciBusDxe: dispatch option ROMs for foreign architectures
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciOptionRomSupport.c
index f6d679cbcde583abc3189214c2fe7f0725263908..c994ed5fe34b8cad0c1aac80230f5cd8df1952c4 100644 (file)
@@ -693,13 +693,6 @@ ProcessOpRomImage (
       goto NextImage;\r
     }\r
 \r
       goto NextImage;\r
     }\r
 \r
-    //\r
-    // Skip the EFI PCI Option ROM image if its machine type is not supported\r
-    //\r
-    if (!EFI_IMAGE_MACHINE_TYPE_SUPPORTED (EfiRomHeader->EfiMachineType)) {\r
-      goto NextImage;\r
-    }\r
-\r
     //\r
     // Ignore the EFI PCI Option ROM image if it is an EFI application\r
     //\r
     //\r
     // Ignore the EFI PCI Option ROM image if it is an EFI application\r
     //\r