summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2017-11-05 22:55:55 +0100
committerEtienne Carriere <etienne.carriere@linaro.org>2017-11-08 13:49:32 +0100
commit908cf7059795eee96e1120ecbedc13eae3d607aa (patch)
treefcded9b367d2289187a6ecaee37cca6e86b55200 /include/common
parent0147bef523e27e26c0240fef4b47deca6720566c (diff)
ARMv7 does not support SDCR
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Diffstat (limited to 'include/common')
-rw-r--r--include/common/aarch32/el3_common_macros.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common/aarch32/el3_common_macros.S b/include/common/aarch32/el3_common_macros.S
index 6fc00dd2..59e99f89 100644
--- a/include/common/aarch32/el3_common_macros.S
+++ b/include/common/aarch32/el3_common_macros.S
@@ -107,6 +107,7 @@
vmsr FPEXC, r0
isb
+#if (ARM_ARCH_MAJOR > 7)
/* ---------------------------------------------------------------------
* Initialise SDCR, setting all the fields rather than relying on hw.
*
@@ -116,6 +117,7 @@
*/
ldr r0, =(SDCR_RESET_VAL | SDCR_SPD(SDCR_SPD_DISABLE))
stcopr r0, SDCR
+#endif
.endm