summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-07-28 14:33:44 +0100
committerdanh-arm <dan.handley@arm.com>2014-07-28 14:33:44 +0100
commitdd2bdee61682df0ec65dfc43371c126a86a30c30 (patch)
tree12e1fca8b8e84230029bc9b6efa7f41b031ab069 /include/common
parent6397bf6a99d785caa9b50016cd6c8eb76083c117 (diff)
parentd3280beb700321b0ef47b4f61d84667ba501bc61 (diff)
Merge pull request #177 from jcastillo-arm/jc/tf-issues/096
Rework incorrect use of assert() and panic() in codebase
Diffstat (limited to 'include/common')
-rw-r--r--include/common/bl_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h
index e996fd6a..9945e3a3 100644
--- a/include/common/bl_common.h
+++ b/include/common/bl_common.h
@@ -33,6 +33,7 @@
#define SECURE 0x0
#define NON_SECURE 0x1
+#define sec_state_is_valid(s) (((s) == SECURE) || ((s) == NON_SECURE))
#define UP 1
#define DOWN 0