OSDN Git Service

PCI: cadence: Allow pci_host_bridge to have custom pci_ops
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 22 Jul 2020 11:03:08 +0000 (16:33 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 27 Jul 2020 14:46:16 +0000 (15:46 +0100)
commitc4c10c0125a705c606cb0cc85e18f13b490d026f
tree409b8838f67b6233f3b0a91ac6a3906fcdda1f76
parent40d957e6f9eb3a8a585007b8b730340c829afbdb
PCI: cadence: Allow pci_host_bridge to have custom pci_ops

Certain platforms like TI's J721E allows only 32-bit configuration
space access. In such cases pci_generic_config_read and
pci_generic_config_write cannot be used. Add support in Cadence core
to let pci_host_bridge have custom pci_ops.

Link: https://lore.kernel.org/r/20200722110317.4744-7-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/cadence/pcie-cadence-host.c