summaryrefslogtreecommitdiff
path: root/lib/cpus/aarch32/cpu_helpers.S
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2018-01-19 13:40:12 +0000
committerGitHub <noreply@github.com>2018-01-19 13:40:12 +0000
commit0d3a27e7f6ee3fa1be4c705927bcf9cad3750809 (patch)
tree6ff8104078387889e039eb2e7a0e9cf87fac4691 /lib/cpus/aarch32/cpu_helpers.S
parent0caaa03bf182429e40d8785e4a9017c443841a52 (diff)
parent76d267334626312adf48c8aad52a0f4178e64d61 (diff)
Merge pull request #1200 from robertovargas-arm/bl2-el3
Add BL2_AT_EL3 build option
Diffstat (limited to 'lib/cpus/aarch32/cpu_helpers.S')
-rw-r--r--lib/cpus/aarch32/cpu_helpers.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpus/aarch32/cpu_helpers.S b/lib/cpus/aarch32/cpu_helpers.S
index bfdc1e4f..72e42c67 100644
--- a/lib/cpus/aarch32/cpu_helpers.S
+++ b/lib/cpus/aarch32/cpu_helpers.S
@@ -10,7 +10,7 @@
#include <cpu_data.h>
#include <cpu_macros.S>
-#if defined(IMAGE_BL1) || defined(IMAGE_BL32)
+#if defined(IMAGE_BL1) || defined(IMAGE_BL32) || (defined(IMAGE_BL2) && BL2_AT_EL3)
/*
* The reset handler common to all platforms. After a matching
* cpu_ops structure entry is found, the correponding reset_handler
@@ -42,7 +42,7 @@ func reset_handler
bx lr
endfunc reset_handler
-#endif /* IMAGE_BL1 || IMAGE_BL32 */
+#endif
#ifdef IMAGE_BL32 /* The power down core and cluster is needed only in BL32 */
/*