Commit 4f249278 authored by Suman Anna's avatar Suman Anna Committed by Tero Kristo
Browse files

remoteproc: extend rproc_da_to_va() API with a flags parameter



The rproc_da_to_va() API is currently used to perform any device
to kernel address translations to meet the different needs of the
remoteproc core/platform drivers (eg: loading). The function also
invokes the da_to_va ops, if present, to allow the remoteproc
platform drivers to provide address translation. However, not all
platform implementations have linear address spaces, and may need
an additional parameter to be able to perform proper translations.

The rproc_da_to_va() API and the rproc .da_to_va ops have therefore
been expanded to take in an additional flags field enabling some
remoteproc implementations (like the TI PRUSS remoteproc driver)
to use these flags.

While at this, update the existing wkup_m3_rproc driver that has
a .da_to_va ops for the updated .ops signature.

Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
parent 8f4166de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment