init.common.rc: make sure remoteprocs are booted
This will allow us to put the remoteproc related kernel modules back in
the ramdisk
diff --git a/init.common.rc b/init.common.rc
index a8a6342..b49fe94 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -9,6 +9,13 @@
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864
+ # make sure remoteprocs have booted, some will attempt
+ # to start before firmware is available and not automatically
+ # retry.
+ write /sys/class/remoteproc/remoteproc0/state start
+ write /sys/class/remoteproc/remoteproc1/state start
+ write /sys/class/remoteproc/remoteproc2/state start
+
on init
# Initialize cpusets to boot-time values
write /dev/cpuset/foreground/cpus 0-7