Skip to content
Commit 43ce39e5 authored by Jeremy Linton's avatar Jeremy Linton Committed by Ard Biesheuvel
Browse files

Silicon/Bcm27xx: Add segment library to handle nonstandard ECAM



This SoC uses a nonstantard ECAM with requires the provision of a custom
segment library. Basically, with the Bcm2711, the root port is the first
bytes of the register space (offset 0) and individual devices are selected
by computing their BDF index and writing that into the CFG_INDEX register
before ECAM data can then be read/written at CFG_DATA.

We also ensure that read/write accesses are serialized through the use of
a lock, as some of the library calls cannot run concurrently.

Signed-off-by: default avatarPete Batard <pete@akeo.ie>
Reviewed-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent 1d18501b
Loading
Loading
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