powerpc/powernv/pci: Remove last IODA1 defines

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230613045202.294451-4-joel@jms.id.au
This commit is contained in:
Joel Stanley
2023-06-13 14:22:02 +09:30
committed by Michael Ellerman
parent 326b3f8c6e
commit 98e61df570
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,8 @@
#include "pci.h" #include "pci.h"
#include "../../../../drivers/pci/pci.h" #include "../../../../drivers/pci/pci.h"
static const char * const pnv_phb_names[] = { "IODA1", "IODA2", "NPU_OCAPI" }; /* This array is indexed with enum pnv_phb_type */
static const char * const pnv_phb_names[] = { "IODA2", "NPU_OCAPI" };
static void pnv_pci_ioda2_set_bypass(struct pnv_ioda_pe *pe, bool enable); static void pnv_pci_ioda2_set_bypass(struct pnv_ioda_pe *pe, bool enable);
static void pnv_pci_configure_bus(struct pci_bus *bus); static void pnv_pci_configure_bus(struct pci_bus *bus);
@@ -359,7 +360,7 @@ static void __init pnv_ioda_parse_m64_window(struct pnv_phb *phb)
const __be32 *r; const __be32 *r;
u64 pci_addr; u64 pci_addr;
if (phb->type != PNV_PHB_IODA1 && phb->type != PNV_PHB_IODA2) { if (phb->type != PNV_PHB_IODA2) {
pr_info(" Not support M64 window\n"); pr_info(" Not support M64 window\n");
return; return;
} }

View File

@@ -10,7 +10,6 @@
struct pci_dn; struct pci_dn;
enum pnv_phb_type { enum pnv_phb_type {
PNV_PHB_IODA1,
PNV_PHB_IODA2, PNV_PHB_IODA2,
PNV_PHB_NPU_OCAPI, PNV_PHB_NPU_OCAPI,
}; };