[RFC LINUX PATCH 03/19] remoteproc: Add a running independent state

From: Wendy Liang
Date: Fri Mar 24 2017 - 15:33:39 EST


From: Wendy Liang <wendy.liang@xxxxxxxxxx>

Add a new RPROC_RUNNING_INDEPENDENT state to indicate
the remote already runs and it is started by the remoteproc
driver.

Signed-off-by: Wendy Liang <jliang@xxxxxxxxxx>
Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
---
include/linux/remoteproc.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index 5eec892..b740b93 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -384,7 +384,8 @@ enum rproc_state {
RPROC_RUNNING = 2,
RPROC_CRASHED = 3,
RPROC_DELETED = 4,
- RPROC_LAST = 5,
+ RPROC_RUNNING_INDEPENDENT = 5,
+ RPROC_LAST = 6,
};

/**
--
1.9.1