PCI: cadence: Use bridge resources for outbound window setup
authorRob Herring <robh@kernel.org>
Wed, 22 Jul 2020 02:25:07 +0000 (20:25 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 23 Jul 2020 16:13:13 +0000 (17:13 +0100)
commit06ff98fcc4a7588c7e45833f2092b3a14e66b575
tree18b14020c9a690db6fb23c8ed529243de67965b7
parent4f5c883d7815fc4b5ab10dac74561c3f01defdad
PCI: cadence: Use bridge resources for outbound window setup

Instead of parsing 'ranges' from DT again, use the bridge window
resources.

Link: https://lore.kernel.org/r/20200722022514.1283916-13-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Tom Joseph <tjoseph@cadence.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/cadence/pcie-cadence-host.c