summaryrefslogtreecommitdiff
path: root/plat/arm/common
diff options
context:
space:
mode:
authorDouglas Raillard <douglas.raillard@arm.com>2016-11-07 17:29:34 +0000
committerDouglas Raillard <douglas.raillard@arm.com>2016-11-22 10:05:47 +0000
commit91a422d69f651784f8cbfbd7d2805f1beb448838 (patch)
tree35c2eab669f6893a875e37da486f9a04d7a14c9e /plat/arm/common
parent686019d206949086f0c193c7b21a0cbbc3fa6dfd (diff)
Clarify dependency for PSCI_EXTENDED_STATE_ID
Add dependency information in the user guide for ARM_RECOM_STATE_ID_ENC that needs to be set when using PSCI_EXTENDED_STATE_ID on ARM platforms. Also clarify the build error message. Change-Id: Id125a0299b179f5f222bca4e2503204bf89a3c59 Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Diffstat (limited to 'plat/arm/common')
-rw-r--r--plat/arm/common/arm_common.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/plat/arm/common/arm_common.mk b/plat/arm/common/arm_common.mk
index 8f8d3fd8..626b443e 100644
--- a/plat/arm/common/arm_common.mk
+++ b/plat/arm/common/arm_common.mk
@@ -58,11 +58,12 @@ endif
# State-ID encoding to be parsed.
ARM_RECOM_STATE_ID_ENC := 0
-# If the PSCI_EXTENDED_STATE_ID is set, then the recommended state ID need to
-# be used. Else throw a build error.
+# If the PSCI_EXTENDED_STATE_ID is set, then ARM_RECOM_STATE_ID_ENC need to
+# be set. Else throw a build error.
ifeq (${PSCI_EXTENDED_STATE_ID}, 1)
ifeq (${ARM_RECOM_STATE_ID_ENC}, 0)
- $(error "Incompatible STATE_ID build option specified")
+ $(error Build option ARM_RECOM_STATE_ID_ENC needs to be set if \
+ PSCI_EXTENDED_STATE_ID is set for ARM platforms)
endif
endif