summaryrefslogtreecommitdiff
path: root/include/common/bl_common.h
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2018-02-21 01:16:39 +0000
committerSoby Mathew <soby.mathew@arm.com>2018-02-26 16:31:11 +0000
commitda5f274572c063962556821914e2f64db5ae3d2d (patch)
tree0a23e2f3c17a912c7374e41a179a7a96d7136f40 /include/common/bl_common.h
parentce6d9643ad9c83b9183ea3f910aee88a22b13532 (diff)
Dynamic cfg: MISRA fixes
Change-Id: I1d85b76af002b8b672fcaeca94939b7420bc8243 Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'include/common/bl_common.h')
-rw-r--r--include/common/bl_common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h
index 8915ba06..6a249f5b 100644
--- a/include/common/bl_common.h
+++ b/include/common/bl_common.h
@@ -9,6 +9,7 @@
#include <ep_info.h>
#include <param_header.h>
+#include <utils_def.h>
#define UP 1
#define DOWN 0
@@ -31,10 +32,10 @@
#define IMAGE_STATE_EXECUTED 4
#define IMAGE_STATE_INTERRUPTED 5
-#define IMAGE_ATTRIB_SKIP_LOADING 0x02
-#define IMAGE_ATTRIB_PLAT_SETUP 0x04
+#define IMAGE_ATTRIB_SKIP_LOADING U(0x02)
+#define IMAGE_ATTRIB_PLAT_SETUP U(0x04)
-#define INVALID_IMAGE_ID (0xFFFFFFFF)
+#define INVALID_IMAGE_ID U(0xFFFFFFFF)
/*******************************************************************************
* Constants to indicate type of exception to the common exception handler.