remoteproc: add helper function to check carveout device address
authorLoic Pallardy <loic.pallardy@st.com>
Fri, 27 Jul 2018 13:14:45 +0000 (15:14 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 10 Oct 2018 05:40:55 +0000 (22:40 -0700)
commitc874bf59add0e6ed1d5d8c1753b9b66d51e3f640
tree29afc8e8b02891b4b5ed3249f6dbec5a0244a7b1
parent1429cca1175f4cb64dd5d61ffd6037895a41d672
remoteproc: add helper function to check carveout device address

This patch introduces a function to verify that a specified carveout
is fitting request device address and associated length

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