aboutsummaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2014-10-23 11:23:07 -0400
committerBjorn Helgaas <bhelgaas@google.com>2014-11-05 18:57:41 -0500
commitdbf9826d57974c2b4e68928528a4a6c354ceddb3 (patch)
treed2540876d4c313d7dd8ae09b89425c3b5d12f6a0 /Kconfig
parenta5525b240368cf496e669703a5fe169febbc72ef (diff)
PCI: generic: Convert to DT resource parsing API
In order to consolidate DT configuration for PCI host controllers in the kernel, a new API, of_pci_get_host_bridge_resources(), was developed to allow parsing and assigning IO/BUS/MEM resources from DT, removing duplicated code present in the majority of PCI host driver implementations. Convert the existing PCI generic host controller driver to the new API. Most of the code parsing ranges and creating resources is now delegated to the of_pci_get_host_bridge_resources() API. The PCI host controller code filters the resulting resource list and maps IO space by using the newly introduced pci_ioremap_iospace() API. New code supports only one IO resource per generic host controller, which should cater for all existing host controller configurations. [bhelgaas: changelog] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions