cmd: remoteproc: Add support for initializing devices individually
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 7 Jun 2019 13:55:55 +0000 (19:25 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 01:49:24 +0000 (21:49 -0400)
commit75a11cc7714007691994630eaf4a8ba82a9e1a98
tree45af2ac8243645e06d70ce0f382348f48c84e3df
parent355be915ed0874d31fd34cd2eee78588cd168553
cmd: remoteproc: Add support for initializing devices individually

'rproc init' does the probe and initialization of all the available
remoteproc devices in the system. This doesn't allow the flexibility
to initialize the remote cores needed as per use case. In order
to provide flexibility, update 'rproc init' command to accept one
more parameter with rproc id which when passed initializes only
that specific core. If no id is passed, command will initializes
all the cores which is compatible with the existing behaviour.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
cmd/remoteproc.c