]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteproc: k3-r5: Re-order internal memory initialization functions
authorBeleswar Padhi <b-padhi@ti.com>
Tue, 13 May 2025 05:44:39 +0000 (11:14 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 20 May 2025 17:19:10 +0000 (11:19 -0600)
commitb9229c0732f3f4bd9cd7470bdccd995ff803c73e
tree50f584f554ab5d087915abf2fbfb48e2858bd89e
parent23532524594c211871054a15c425812a4ac35102
remoteproc: k3-r5: Re-order internal memory initialization functions

The internal memory struct pointer, 'mem', will be refactored from
k3_r5_core struct into k3_r5_rproc struct in a future commit.

Therefore, move the internal memory initialization function,
k3_r5_core_of_get_internal_memories() above k3_r5_cluster_rproc_init()
so that the former can be invoked by the later.

While at it, also re-order the k3_r5_core_of_get_sram_memories() to keep
all the internal memory initialization functions at one place.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Tested-by: Judith Mendez <jm@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250513054510.3439842-6-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_r5_remoteproc.c