&PlatformOpRomSize\r
);\r
if (!EFI_ERROR (Status)) {\r
+ PciIoDevice->EmbeddedRom = FALSE;\r
PciIoDevice->RomSize = PlatformOpRomSize;\r
PciIoDevice->PciIo.RomSize = PlatformOpRomSize;\r
PciIoDevice->PciIo.RomImage = PlatformOpRomBuffer;\r
&PlatformOpRomSize\r
);\r
if (!EFI_ERROR (Status)) {\r
+ PciIoDevice->EmbeddedRom = FALSE;\r
PciIoDevice->RomSize = PlatformOpRomSize;\r
PciIoDevice->PciIo.RomSize = PlatformOpRomSize;\r
PciIoDevice->PciIo.RomImage = PlatformOpRomBuffer;\r
//\r
// If it is a PPB\r
//\r
- if (!IsListEmpty (&PciIoDevice->ChildList)) {\r
+ if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) {\r
Status = StartPciDevicesOnBridge (\r
Controller,\r
PciIoDevice,\r
(*NumberOfChildren)++;\r
}\r
\r
- if (!IsListEmpty (&PciIoDevice->ChildList)) {\r
+ if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) {\r
Status = StartPciDevicesOnBridge (\r
Controller,\r
PciIoDevice,\r