aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2013-11-12 16:41:16 +0000
committerDan Handley <dan.handley@arm.com>2013-11-27 15:31:06 +0000
commitc10bd2ce69e54a8c71fa773810e130fc465c03ac (patch)
tree34e34f2b4a21a448c4823f8b591579cfd1ca9f36 /arch
parentba3155bb0eb51ca4b5dcf43877c394381cff2fb1 (diff)
downloadarm-trusted-firmware-c10bd2ce69e54a8c71fa773810e130fc465c03ac.tar.gz
Move generic architectural setup out of blx_plat_arch_setup().
blx_plat_arch_setup() should only perform platform-specific architectural setup, e.g. enabling the MMU. This patch moves generic architectural setup code out of blx_plat_arch_setup(). Change-Id: I4ccf56b8c4a2fa84909817779a2d97a14aaafab6
Diffstat (limited to 'arch')
-rw-r--r--arch/aarch64/cpu/cpu_helpers.S11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/aarch64/cpu/cpu_helpers.S b/arch/aarch64/cpu/cpu_helpers.S
index 600b72f..76edaa3 100644
--- a/arch/aarch64/cpu/cpu_helpers.S
+++ b/arch/aarch64/cpu/cpu_helpers.S
@@ -39,14 +39,9 @@ cpu_reset_handler:; .type cpu_reset_handler, %function
mov x19, x30 // lr
/* ---------------------------------------------
- * As a bare minimal enable the SMP bit and the
- * I$ for all aarch64 processors. Also set the
- * exception vector to something sane.
+ * As a bare minimal enable the SMP bit.
* ---------------------------------------------
*/
- adr x0, early_exceptions
- bl write_vbar
-
bl read_midr
lsr x0, x0, #MIDR_PN_SHIFT
and x0, x0, #MIDR_PN_MASK
@@ -59,8 +54,4 @@ smp_setup_begin:
orr x0, x0, #CPUECTLR_SMP_BIT
bl write_cpuectlr
smp_setup_end:
- bl read_sctlr
- orr x0, x0, #SCTLR_I_BIT
- bl write_sctlr
-
ret x19