aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2017-11-06 13:59:42 +0000
committerGitHub <noreply@github.com>2017-11-06 13:59:42 +0000
commit92c5066c93bb0c027c9ea8d7028d4fb722d3aec2 (patch)
tree36069ff6f34e3b9b5a10bc8cf923aec8a2d349c5 /include
parentf9a6db0f4804834930c4d4facfade0d850491eab (diff)
parente8a87acd4b7f3c526de036920df42230e37e6144 (diff)
downloadplatform_external_arm-trusted-firmware-92c5066c93bb0c027c9ea8d7028d4fb722d3aec2.tar.gz
platform_external_arm-trusted-firmware-92c5066c93bb0c027c9ea8d7028d4fb722d3aec2.tar.bz2
platform_external_arm-trusted-firmware-92c5066c93bb0c027c9ea8d7028d4fb722d3aec2.zip
Merge pull request #1153 from robertovargas-arm/fix-macros
Avoid use of undefined macros
Diffstat (limited to 'include')
-rw-r--r--include/lib/xlat_tables/xlat_tables_v2_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib/xlat_tables/xlat_tables_v2_helpers.h b/include/lib/xlat_tables/xlat_tables_v2_helpers.h
index 28228c4c6..96dee1a06 100644
--- a/include/lib/xlat_tables/xlat_tables_v2_helpers.h
+++ b/include/lib/xlat_tables/xlat_tables_v2_helpers.h
@@ -168,7 +168,7 @@ struct xlat_ctx {
* This IMAGE_EL macro must not to be used outside the library, and it is only
* used in AArch64.
*/
-#if IMAGE_BL1 || IMAGE_BL31
+#if defined(IMAGE_BL1) || defined(IMAGE_BL31)
# define IMAGE_EL 3
# define IMAGE_XLAT_DEFAULT_REGIME EL3_REGIME
#else