diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-08-11 23:52:50 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-08-18 08:17:42 +0200 |
commit | ddf711872c9d2b05b0fb25db3e6e0c2a50be39e3 (patch) | |
tree | 91c25d55265316d6bdd355bdf1d6c1dadf08aa0f /drivers/remoteproc/wkup_m3_rproc.c | |
parent | remoteproc/omap: revise a minor error trace message (diff) | |
download | linux-ddf711872c9d2b05b0fb25db3e6e0c2a50be39e3.tar.xz linux-ddf711872c9d2b05b0fb25db3e6e0c2a50be39e3.zip |
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>
Diffstat (limited to 'drivers/remoteproc/wkup_m3_rproc.c')
-rw-r--r-- | drivers/remoteproc/wkup_m3_rproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/remoteproc/wkup_m3_rproc.c b/drivers/remoteproc/wkup_m3_rproc.c index 02d271d101b4..3811cb522af3 100644 --- a/drivers/remoteproc/wkup_m3_rproc.c +++ b/drivers/remoteproc/wkup_m3_rproc.c @@ -167,6 +167,8 @@ static int wkup_m3_rproc_probe(struct platform_device *pdev) goto err; } + rproc->auto_boot = false; + wkupm3 = rproc->priv; wkupm3->rproc = rproc; wkupm3->pdev = pdev; |