diff options
| author | Beleswar Padhi <[email protected]> | 2025-05-13 05:45:07 +0000 |
|---|---|---|
| committer | Mathieu Poirier <[email protected]> | 2025-05-20 17:19:12 +0000 |
| commit | c1724028012999910130165645705cf7df52a7ae (patch) | |
| tree | 8bba6778df790e3563a00b102d309fd5418975bb /rust/helpers/mutex.c | |
| parent | remoteproc: k3: Refactor .da_to_va rproc ops into common driver (diff) | |
| download | kernel-c1724028012999910130165645705cf7df52a7ae.tar.gz kernel-c1724028012999910130165645705cf7df52a7ae.zip | |
remoteproc: k3: Refactor of_get_memories() functions into common driver
The of_get_memories() implementations in the TI K3 R5, DSP and M4
remoteproc drivers initialize and assign memory regions used by the
remote processor in the same way. Refactor these implementations into
ti_k3_common.c driver as k3_rproc_of_get_memories() use this common
function for mem initialization in R5, DSP and M4 drivers.
Note: The TCM addresses for R5 core are configurable based on the
'loczrama' setting. Therefore, override the bus_addr assignment done by
the common function for TCMs of R5 remote processors by reading the
'loczrama' DT property in k3_r5_core_of_get_internal_memories().
Signed-off-by: Beleswar Padhi <[email protected]>
Tested-by: Judith Mendez <[email protected]>
Reviewed-by: Andrew Davis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
