diff options
| author | Robin Murphy <[email protected]> | 2019-07-02 18:42:39 +0100 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2019-10-08 13:50:22 -0500 |
| commit | b68ac8dc22ebbf003e26e44bf4dd3030c076df5a (patch) | |
| tree | d26b5be8ad883c6ca06698aa186bd11523df94ae /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c60bf3eb888a362100aa1bdbea351dab681e262a (diff) | |
of: Factor out #{addr,size}-cells parsing
In some cases such as PCI host controllers, we may have a "parent bus"
which is an OF leaf node, but still need to correctly parse ranges from
the point of view of that bus. For that, factor out variants of the
"#addr-cells" and "#size-cells" parsers which do not assume they have a
device node and thus immediately traverse upwards before reading the
relevant property.
Signed-off-by: Robin Murphy <[email protected]>
[robh: don't make of_bus_n_{addr,size}_cells() public]
Reviewed-by: Geert Uytterhoeven <[email protected]>
Tested-by: Nicolas Saenz Julienne <[email protected]>
Reviewed-by: Nicolas Saenz Julienne <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions