PCI: ftpci100: Use inbound resources for setup
authorRob Herring <robh@kernel.org>
Mon, 28 Oct 2019 16:32:51 +0000 (11:32 -0500)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 20 Nov 2019 17:00:14 +0000 (17:00 +0000)
commitea4f718e8455e8d94ec5fcf270b9d37988fc5bbd
treeeb7718c95599b46bc4a19f06024a6de352b3a5b5
parent331f63457165a30c708280de2c77f1742c6351dc
PCI: ftpci100: Use inbound resources for setup

Now that the helpers provide the inbound resources in the host bridge
'dma_ranges' resource list, convert Faraday ftpci100 host bridge to use
the resource list to setup the inbound addresses.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pci-ftpci100.c