Commit 908cf705 authored by Etienne Carriere's avatar Etienne Carriere
Browse files

ARMv7 does not support SDCR


Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
parent 0147bef5
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
vmsr FPEXC, r0 vmsr FPEXC, r0
isb isb
#if (ARM_ARCH_MAJOR > 7)
/* --------------------------------------------------------------------- /* ---------------------------------------------------------------------
* Initialise SDCR, setting all the fields rather than relying on hw. * Initialise SDCR, setting all the fields rather than relying on hw.
* *
...@@ -116,6 +117,7 @@ ...@@ -116,6 +117,7 @@
*/ */
ldr r0, =(SDCR_RESET_VAL | SDCR_SPD(SDCR_SPD_DISABLE)) ldr r0, =(SDCR_RESET_VAL | SDCR_SPD(SDCR_SPD_DISABLE))
stcopr r0, SDCR stcopr r0, SDCR
#endif
.endm .endm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment