Commit 5ac129cd authored by Joel Stanley's avatar Joel Stanley Committed by Michael Ellerman

powerpc/powernv/pci: Remove ioda1 support

The final "VPL" Power7 boxes that were used for powernv bringup have
been scrapped, meaning there are no machines with ioda1 left.

This patch removes the obvious unused code.
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230613045202.294451-2-joel@jms.id.au
parent d65305bf
This diff is collapsed.
...@@ -845,11 +845,6 @@ void __init pnv_pci_init(void) ...@@ -845,11 +845,6 @@ void __init pnv_pci_init(void)
pcie_ports_disabled = true; pcie_ports_disabled = true;
#endif #endif
/* Look for IODA IO-Hubs. */
for_each_compatible_node(np, NULL, "ibm,ioda-hub") {
pnv_pci_init_ioda_hub(np);
}
/* Look for ioda2 built-in PHB3's */ /* Look for ioda2 built-in PHB3's */
for_each_compatible_node(np, NULL, "ibm,ioda2-phb") for_each_compatible_node(np, NULL, "ibm,ioda2-phb")
pnv_pci_init_ioda2_phb(np); pnv_pci_init_ioda2_phb(np);
......
...@@ -163,10 +163,6 @@ struct pnv_phb { ...@@ -163,10 +163,6 @@ struct pnv_phb {
unsigned int *m32_segmap; unsigned int *m32_segmap;
unsigned int *io_segmap; unsigned int *io_segmap;
/* DMA32 segment maps - IODA1 only */
unsigned int dma32_count;
unsigned int *dma32_segmap;
/* IRQ chip */ /* IRQ chip */
int irq_chip_init; int irq_chip_init;
struct irq_chip irq_chip; struct irq_chip irq_chip;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment