remoteproc: st: add reserved memory support
authorLoic Pallardy <loic.pallardy@st.com>
Thu, 10 Jan 2019 13:50:50 +0000 (14:50 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 21 Feb 2019 05:15:38 +0000 (21:15 -0800)
commit3df52ed7f269a25a5f97d6c03887c3ad3d012816
tree75d329cd31016707cfdb386e2a1b233eb6355104
parent086d08725d34c6b3333db710344ae9c4fdafb2d5
remoteproc: st: add reserved memory support

ST remote processor needs some specified memory regions for
firmware and IPC.
Memory regions are defined as reserved memory and should
be registered in remoteproc core thanks to rproc_add_carveout
function before rproc_start. For this, st rproc driver implements
prepare ops.

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/st_remoteproc.c