remoteproc: Introduce rproc features
authorPeng Fan <peng.fan@nxp.com>
Wed, 28 Sep 2022 06:47:55 +0000 (14:47 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 28 Sep 2022 16:46:21 +0000 (10:46 -0600)
commit49f27f2b4bfa8b6e26f02df615e544f52648bfb2
tree214422e36799b09e9bd331b84e2b6a246974e564
parent1d7b61c06dc310421911dac7c5d2d15b754c8b63
remoteproc: Introduce rproc features

remote processor may support:
 - boot recovery with help from main processor
 - self recovery without help from main processor
 - iommu
 - etc

Introduce rproc features could simplify code to avoid adding more bool
flags

Acked-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20220928064756.4059662-2-peng.fan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/remoteproc_internal.h
include/linux/remoteproc.h