remoteproc: introduce rproc_find_carveout_by_name function
authorLoic Pallardy <loic.pallardy@st.com>
Fri, 27 Jul 2018 13:14:42 +0000 (15:14 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 10 Oct 2018 05:39:11 +0000 (22:39 -0700)
commitb0019ccd7e90178929ce1afe944ab85d8a39d7a4
tree6d6d57e215ecf6ab288c8b26be2b8b1414dc23e2
parent15c0b0258e4f1c3c817f34d092d2cc6ff5178bdd
remoteproc: introduce rproc_find_carveout_by_name function

This patch provides a new function to find a carveout according
to a name.
If match found, this function returns a pointer on the corresponding
carveout (rproc_mem_entry structure).

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