remoteproc: add device_to_virt ops
authorFabien Dessenne <fabien.dessenne@st.com>
Fri, 31 May 2019 13:11:32 +0000 (15:11 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Mon, 22 Jul 2019 07:21:28 +0000 (09:21 +0200)
commit163b7d7706d842517c5c77e649290be557ad578b
tree05b055feaaaa9bfc13082f11a6cdf11380ca2d38
parent31a839f81972034cae66fdc914a52f36ec489c00
remoteproc: add device_to_virt ops

Introduce the device_to_virt function to allow translation between
device address (remote processor view) and virtual address (main
processor view).

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
include/remoteproc.h