aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFernando Guzman Lugo <fernando.lugo@ti.com>2011-10-07 15:46:39 -0500
committerIliyan Malchev <malchev@google.com>2011-10-17 18:53:55 -0700
commit7d5542c6c8f22d9a7d81e389223a7875b6014991 (patch)
treea517fe7ad43f3fd18f752dfe9fedb5f520650922 /include
parent3d63a6b4f498a3738c1b5235f9290fef931fee4b (diff)
downloadkernel_samsung_tuna-7d5542c6c8f22d9a7d81e389223a7875b6014991.zip
kernel_samsung_tuna-7d5542c6c8f22d9a7d81e389223a7875b6014991.tar.gz
kernel_samsung_tuna-7d5542c6c8f22d9a7d81e389223a7875b6014991.tar.bz2
remoteproc: create new event to notify when secure mode is enable or disable
Adding new event for security notifications. Change-Id: Ib35a5c06377a24e34374b881f1b43bc9672a167b Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/remoteproc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index 90bb064..bfd7674 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -199,12 +199,15 @@ enum rproc_state {
*
* @RPROC_RESUME: users should use this event to revert what was done in the
* POS_SUSPEND event.
+ *
+ * @RPROC_SECURE: remote processor secure mode has changed.
*/
enum rproc_event {
RPROC_ERROR,
RPROC_PRE_SUSPEND,
RPROC_POS_SUSPEND,
RPROC_RESUME,
+ RPROC_SECURE,
};
#define RPROC_MAX_NAME 100