summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVikram Kanigiri <vikram.kanigiri@arm.com>2014-03-21 11:57:10 +0000
committerDan Handley <dan.handley@arm.com>2014-03-26 17:36:35 +0000
commitd118f9f864267670fb9cb1790d7d6dd620e0f6ed (patch)
tree49ad67bbcdd6ee90fc111fc0f27a9e03fd49b8d1 /include
parent886278e55f3a7e5ab1ba8e12974cf824778c5995 (diff)
Add standby state support in PSCI cpu_suspend api
This patch adds support in the generic PSCI implementation to call a platform specific function to enter a standby state using an example implementation in ARM FVP port Fixes ARM-software/tf-issues#94 Change-Id: Ic1263fcf25f28e09162ad29dca954125f9aa8cc9
Diffstat (limited to 'include')
-rw-r--r--include/psci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/psci.h b/include/psci.h
index 6fe1d8af..5c66789e 100644
--- a/include/psci.h
+++ b/include/psci.h
@@ -74,6 +74,9 @@
#define PSTATE_TYPE_MASK 0x1
#define PSTATE_AFF_LVL_MASK 0x3
+#define PSTATE_TYPE_STANDBY 0x0
+#define PSTATE_TYPE_POWERDOWN 0x1
+
#define psci_get_pstate_id(pstate) (pstate >> PSTATE_ID_SHIFT) & \
PSTATE_ID_MASK
#define psci_get_pstate_type(pstate) (pstate >> PSTATE_TYPE_SHIFT) & \