PCI: v3-semi: Use inbound resources for setup
authorRob Herring <robh@kernel.org>
Mon, 28 Oct 2019 16:32:52 +0000 (11:32 -0500)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 20 Nov 2019 17:00:14 +0000 (17:00 +0000)
commit070d7d70291c3a6b61fb10f0e9cf5874df91e214
treeead02d8eaadfd9c9026dbe7b834dd2c192657a30
parentea4f718e8455e8d94ec5fcf270b9d37988fc5bbd
PCI: v3-semi: Use inbound resources for setup

Now that the helpers provide the inbound resources in the host bridge
'dma_ranges' resource list, convert the v3-semi 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pci-v3-semi.c