PCI: keystone-dw: Update PCI config space remap function
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Apr 2017 16:49:09 +0000 (17:49 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Apr 2017 18:53:18 +0000 (13:53 -0500)
commit89874a1a6e64b6be8e442b1d52a447e2b730ebbd
treec95bb2a01060f5952f66e8c34a398f7fe93e17e8
parent01bd489dba01bcc58b23c669b437330039639c75
PCI: keystone-dw: Update PCI config space remap function

PCI configuration space should be mapped with a memory region type that
generates 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: Murali Karicheri <m-karicheri2@ti.com>
drivers/pci/dwc/pci-keystone-dw.c