diff options
author | Rob Herring <[email protected]> | 2019-10-28 11:32:35 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2019-10-29 10:48:33 +0000 |
commit | e634e3e0b790789ee16f4df503ccab13f1169134 (patch) | |
tree | 67f6369fde2e0a87e18d0326ec4bce9531582fef /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 4e5be6f81be72c980580676e31c2b542c0267757 (diff) |
PCI: altera: Use pci_parse_request_of_pci_ranges()
Convert altera host bridge to use the common
pci_parse_request_of_pci_ranges().
There's no need to assign the resources to a temporary list first. Just
use bridge->windows directly and remove all the temporary list handling.
If an I/O range is present, then it will now be mapped. It's expected
that h/w which doesn't support I/O range will not define one.
Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Andrew Murray <[email protected]>
Cc: Ley Foon Tan <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions