Skip to content
Snippets Groups Projects
Commit bc5e522e authored by Rob Herring's avatar Rob Herring
Browse files

of/address: Rework of_pci_range parsing for non-PCI buses


The only PCI specific part of of_pci_range_parser_one() is the handling
of the 3rd address cell. Rework it to work on regular 1 and 2 cell
addresses.

Use defines and a union to avoid a treewide renaming of the parsing
helpers and struct.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent c67f3df8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment