]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: spear13xx: Update PCI config space remap function
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Apr 2017 16:48:59 +0000 (17:48 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Apr 2017 18:53:15 +0000 (13:53 -0500)
commit05043c89ef067ec3c067e89afad8c98974e7a234
tree1bb54a1cd1f06932d721c24358526d3a3a58fbfa
parentcd00f084ed1d501c8cb391c6d98b4f31b2a9a3e2
PCI: spear13xx: Update PCI config space remap function

PCI configuration space should be mapped with a memory region type that
generate on the CPU host bus non-posted write transations. Update the
driver to use the devm_pci_remap_cfg* interface to make sure the correct
memory mappings for PCI configuration space are used.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Pratyush Anand <pratyush.anand@gmail.com>
drivers/pci/dwc/pcie-spear13xx.c