summaryrefslogtreecommitdiff
path: root/include/common/aarch32/el3_common_macros.S
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/aarch32/el3_common_macros.S')
-rw-r--r--include/common/aarch32/el3_common_macros.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common/aarch32/el3_common_macros.S b/include/common/aarch32/el3_common_macros.S
index 50ce952f..0018ea4b 100644
--- a/include/common/aarch32/el3_common_macros.S
+++ b/include/common/aarch32/el3_common_macros.S
@@ -67,6 +67,14 @@
orr r0, r0, #SCR_SIF_BIT
stcopr r0, SCR
+ /* -----------------------------------------------------------------
+ * Reset those registers that may have architecturally unknown reset
+ * values
+ * -----------------------------------------------------------------
+ */
+ mov r0, #0
+ stcopr r0, SDCR
+
/* -----------------------------------------------------
* Enable the Asynchronous data abort now that the
* exception vectors have been setup.