diff options
author | Ray Jui <ray.jui@broadcom.com> | 2016-11-01 01:38:32 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-11-14 22:55:33 +0100 |
commit | 404349c5c806d56de2b41f48a99402c3c7573af5 (patch) | |
tree | c903bdc7b17fe91280f28a3f9e20fc87d2da785e /drivers/pci/host/pcie-iproc-bcma.c | |
parent | PCI: iproc: Do not reset PAXC when initializing the driver (diff) | |
download | linux-404349c5c806d56de2b41f48a99402c3c7573af5.tar.xz linux-404349c5c806d56de2b41f48a99402c3c7573af5.zip |
PCI: iproc: Add BCMA type
The iProc PCIe driver is currently using type IPROC_PCIE_PAXB for the
following SoCs: NS, NSP, Cygnus, NS2, and Pegasus. In fact, the BCMA-based
NS uses a legacy PAXB controller that is slightly different from the PAXB
controller used in the rest of SoCs, e.g., some registers are missing and
it does not require software configuration of outbound/inbound address
mapping.
Add a new type, IPROC_PCIE_PAXB_BCMA, to allow us to properly support the
BCMA-based NS along with other iProc-based SoCs going forward.
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Diffstat (limited to 'drivers/pci/host/pcie-iproc-bcma.c')
-rw-r--r-- | drivers/pci/host/pcie-iproc-bcma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/host/pcie-iproc-bcma.c b/drivers/pci/host/pcie-iproc-bcma.c index 8ce089043a27..bd4c9ec25edc 100644 --- a/drivers/pci/host/pcie-iproc-bcma.c +++ b/drivers/pci/host/pcie-iproc-bcma.c @@ -54,6 +54,7 @@ static int iproc_pcie_bcma_probe(struct bcma_device *bdev) pcie->dev = dev; + pcie->type = IPROC_PCIE_PAXB_BCMA; pcie->base = bdev->io_addr; if (!pcie->base) { dev_err(dev, "no controller registers\n"); |