diff options
| author | Andrea della Porta <[email protected]> | 2026-06-01 12:39:23 +0200 |
|---|---|---|
| committer | Peter Robinson <[email protected]> | 2026-06-04 10:50:04 +0100 |
| commit | b24c620e5e129277d50cceac2d758e8c5bf53293 (patch) | |
| tree | 90ac0951070797a9a4a6b3d2cff84a45070de1a5 /cpu | |
| parent | b20ce94bb9d06c0bffe6cf0b2795fb021f7c0052 (diff) | |
pci: brcmstb: Fix PCIe bus numbers
The linux kernel assigns a new domain for every Root Complex where bus
numbering starts from 0 for each domain. U-Boot does not have domains
and uses a flattened bus numbering scheme instead. This means that any
device or bridge on the second enumerated RC will receive a bus number
equal to the last assigned one +1. This bus number contributes to the
address written into the index register, which will select the
configuration space to be read. Compensate for this contribution by
subtracting the base bus number.
Signed-off-by: Andrea della Porta <[email protected]>
Signed-off-by: Torsten Duwe <[email protected]>
Tested-by: Pedro Falcato <[email protected]>
Reviewed-by: Peter Robinson <[email protected]>
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions
