aboutsummaryrefslogtreecommitdiff
path: root/core/pci-opal.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-05-31 16:13:14 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-03 10:20:00 +1000
commit5b4d6f1f0e611c5355d0e7cfd9470bf1369e071e (patch)
tree750c66a3ff2e6eec0fbac9c786daee0948674ca1 /core/pci-opal.c
parent897d8c8a41d900a2a30cf90efe2abd4610ef7b4b (diff)
downloadskiboot-5b4d6f1f0e611c5355d0e7cfd9470bf1369e071e.zip
skiboot-5b4d6f1f0e611c5355d0e7cfd9470bf1369e071e.tar.gz
skiboot-5b4d6f1f0e611c5355d0e7cfd9470bf1369e071e.tar.bz2
Remove never implemented OPAL_PCI_SET_PHB_TABLE_MEMORY and document why
Not ever used by upstream linux or PowerKVM tree. Never implemented in skiboot (not even in ancient internal only tree). So, it's incredibly safe to remove. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core/pci-opal.c')
-rw-r--r--core/pci-opal.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/pci-opal.c b/core/pci-opal.c
index b0e61b6..9b8d400 100644
--- a/core/pci-opal.c
+++ b/core/pci-opal.c
@@ -246,18 +246,6 @@ static int64_t opal_pci_map_pe_mmio_window(uint64_t phb_id, uint64_t pe_number,
}
opal_call(OPAL_PCI_MAP_PE_MMIO_WINDOW, opal_pci_map_pe_mmio_window, 5);
-static int64_t opal_pci_set_phb_table_memory(uint64_t phb_id __unused,
- uint64_t rtt_addr __unused,
- uint64_t ivt_addr __unused,
- uint64_t ivt_len __unused,
- uint64_t rej_array_addr __unused,
- uint64_t peltv_addr __unused)
-{
- /* IODA2 (P8) stuff, TODO */
- return OPAL_UNSUPPORTED;
-}
-opal_call(OPAL_PCI_SET_PHB_TABLE_MEMORY, opal_pci_set_phb_table_memory, 6);
-
static int64_t opal_pci_set_pe(uint64_t phb_id, uint64_t pe_number,
uint64_t bus_dev_func, uint8_t bus_compare,
uint8_t dev_compare, uint8_t func_compare,