]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d1bc8f69fb7124e0adfcc67aaa598f5f446964f
tree75d329cd31016707cfdb386e2a1b233eb6355104
parent68a751a09702088893ec5c2b05a57528a2cf2a87
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