]> 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 c75ef1a82505c003c663cee2147fd3fa82015d4c..c994ed5fe34b8cad0c1aac80230f5cd8df1952c4 100644 (file)
@@ -2,13 +2,7 @@
   PCI Rom supporting funtions implementation for PCI Bus module.\r
 \r
 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -699,13 +693,6 @@ ProcessOpRomImage (
       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