mod/noc_s3: add the support to program psam
Programmable System Address Map feature in NoC S3 allows configurable
address map for address‑based routing from each upstream interface to
the corresponding downstream interfaces.
Add the support to configure PSAM during runtime in following mode
1) Static mapping with the information passed through module config.
It is expected that the statically mapped regions will not change
during the runtime. Their context is handled by the module.
2) Mapping/Unmapping requested through the APIs exposed by the module.
These APIs are expected to be used by the modules that will change
the mapping during the runtime and modules will do additional steps
such as mapping peripheral base in the address translation unit
before calling the API. For this reason, the module will maintain the
context for the blocks that it is managing.
Signed-off-by:
Nishant Sharma <nishant.sharma@arm.com>
Change-Id: Ia2c08a76e5d48ecdb6b38d19180e015aca22dc41
Loading
Please register or sign in to comment