summaryrefslogtreecommitdiffstats
path: root/platforms/ibm-fsp/apollo-pci.c
Commit message (Collapse)AuthorAgeFilesLines
* platforms/ibm-fsp: Avoid associating PHB slot with platform slotGavin Shan2016-07-191-8/+0
| | | | | | | | | | | We shouldn't have a hotpluggable slot behind PHB as the root port cannot be plugged. This removes the association between PHB slot and platform specific slot. Otherwise, we will run into strange situation: there are two slots behind PHB and root port separately, but both of them are dereferencing same platform specific slot. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* platforms/ibm-fsp: Support PCI slotGavin Shan2016-06-141-0/+94
The patch reworks PCI stuff for IBM's Apollo and Firenze platforms to support PCI slot: * Platform shared PCI slot is represented by "struct lxvpd_pci_slot" for Apollo and Firenze. The information of that is fetched from VPD. * Apollo platform uses "struct lxvpd_pci_slot" as its platform slot, while Firenze platform uses "struct firenze_pci_slot" as its platform slot in order to support external I2C-based PCI slot power maangement as well as PERST supported by the downstream ports of particular PLX PCIe switches. * On Firenze platform, the properties and methods to manage PHB slot might be overrided to utilize the capability of external power management. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud