remoteproc: Introduce auto-boot flag
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 11 Aug 2016 21:52:50 +0000 (14:52 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 18 Aug 2016 06:17:42 +0000 (23:17 -0700)
commitddf711872c9d2b05b0fb25db3e6e0c2a50be39e3
tree91c25d55265316d6bdd355bdf1d6c1dadf08aa0f
parent14096c13ef5bc0d21819a502f2b71ae17b60e452
remoteproc: Introduce auto-boot flag

Introduce an "auto-boot" flag on rprocs to make it possible to flag
remote processors without vdevs to automatically boot once the firmware
is found.

Preserve previous behavior of the wkup_m3 processor being explicitly
booted by a consumer.

Cc: Lee Jones <lee.jones@linaro.org>
Cc: Loic Pallardy <loic.pallardy@st.com>
Cc: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c
drivers/remoteproc/remoteproc_virtio.c
drivers/remoteproc/wkup_m3_rproc.c
include/linux/remoteproc.h