aboutsummaryrefslogtreecommitdiff
path: root/bl31/aarch64
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-05-08 12:01:24 +0100
committerdanh-arm <dan.handley@arm.com>2014-05-08 12:01:24 +0100
commit18a17e6a4a146452dc3fa7dd8ad6aecf3a575e80 (patch)
treee2047d2ad1b618b9f021cd824ab36ecfd086db06 /bl31/aarch64
parentfd6fede5b6183143eaac3c79e2bcfb13c0492dea (diff)
parent40fd072548ab47ce21bc48dc8059513048693f4e (diff)
downloadarm-trusted-firmware-18a17e6a4a146452dc3fa7dd8ad6aecf3a575e80.tar.gz
Merge pull request #62 from athoelke/set-little-endian-v2
Set processor endianness immediately after RESET v2
Diffstat (limited to 'bl31/aarch64')
-rw-r--r--bl31/aarch64/bl31_arch_setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bl31/aarch64/bl31_arch_setup.c b/bl31/aarch64/bl31_arch_setup.c
index acaa6b5..ad73de0 100644
--- a/bl31/aarch64/bl31_arch_setup.c
+++ b/bl31/aarch64/bl31_arch_setup.c
@@ -45,10 +45,9 @@ void bl31_arch_setup(void)
unsigned long tmp_reg = 0;
uint64_t counter_freq;
- /* Enable alignment checks and set the exception endianness to LE */
+ /* Enable alignment checks */
tmp_reg = read_sctlr_el3();
tmp_reg |= (SCTLR_A_BIT | SCTLR_SA_BIT);
- tmp_reg &= ~SCTLR_EE_BIT;
write_sctlr_el3(tmp_reg);
/*