]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: iproc: Add arm64 support
authorRay Jui <rjui@broadcom.com>
Wed, 22 Jul 2015 01:29:40 +0000 (18:29 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Jul 2015 19:55:00 +0000 (14:55 -0500)
commit8d9bfe3702aaea457b3d59b09b86e9f03c322605
treea1b1981b7ac44331e737418c97f9a913b08dbdfb
parent93972d18bbaba6f34e21742400b6e7461edc4837
PCI: iproc: Add arm64 support

Add arm64 support to the iProc PCIe driver.

Note that on arm32, bus->sysdata points to the arm32-specific pci_sys_data
struct, and pci_sys_data.private_data contains the iproc_pcie pointer.
For arm64, there's nothing corresponding to pci_sys_data, so we keep the
iproc_pcie pointer directly in bus->sysdata.

In addition, arm64 does IRQ mapping in pcibios_add_device(), so it doesn't
need pci_fixup_irqs() as arm32 does.

Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
drivers/pci/host/pcie-iproc.c
drivers/pci/host/pcie-iproc.h