remoteproc: Move vdev handling to boot/shutdown
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 11 Aug 2016 21:52:52 +0000 (14:52 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 18 Aug 2016 06:18:51 +0000 (23:18 -0700)
commitd81fb32f3da6c46863c9b736f991fc595d0373bd
tree2354b566dd808c6945d13e8109941c5355bee66c
parentb35d7afc3ba9d5cf28655481aef1dd6a01c6421d
remoteproc: Move vdev handling to boot/shutdown

The newly introduced "always-on" flag allows us to stop giving the vdevs
special treatment. The ordering of resource allocation and life cycle of
the remote processor is kept intact.

This allows us to mark a remote processor with vdevs to not boot unless
explicitly requested to do so by a client driver.

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