aboutsummaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2014-04-17 17:29:58 +0100
committerDan Handley <dan.handley@arm.com>2014-05-06 12:35:02 +0100
commitbdbfc3c298b4cdc36412d6abd55a4fe79e643b44 (patch)
treeb66246f7fdd044e79ffaf75ea1790eb5aa2eae4b /include/common
parentbee824171189fad399047b7d649f541747c88c2b (diff)
downloadarm-trusted-firmware-bdbfc3c298b4cdc36412d6abd55a4fe79e643b44.tar.gz
Separate out CASSERT macro into own header
Separate out the CASSERT macro out of bl_common.h into its own header to allow more efficient header inclusion. Change-Id: I291be0b6b8f9879645e839a8f0dd1ec9b3db9639
Diffstat (limited to 'include/common')
-rw-r--r--include/common/bl_common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h
index a751d78..527f647 100644
--- a/include/common/bl_common.h
+++ b/include/common/bl_common.h
@@ -48,14 +48,6 @@
#define BOT_LOAD !TOP_LOAD
#define LOAD_MASK (1 << 0)
-/*******************************************************************************
- * Macro to flag a compile time assertion. It uses the preprocessor to generate
- * an invalid C construct if 'cond' evaluates to false.
- * The following compilation error is triggered if the assertion fails:
- * "error: size of array 'msg' is negative"
- ******************************************************************************/
-#define CASSERT(cond, msg) typedef char msg[(cond) ? 1 : -1]
-
/******************************************************************************
* Opcode passed in x0 to tell next EL that we want to run an image.
* Corresponds to the function ID of the only SMC that the BL1 exception