Merge pull request #62 from athoelke/set-little-endian-v2
authordanh-arm <dan.handley@arm.com>
Thu, 8 May 2014 11:01:24 +0000 (12:01 +0100)
committerdanh-arm <dan.handley@arm.com>
Thu, 8 May 2014 11:01:24 +0000 (12:01 +0100)
Set processor endianness immediately after RESET v2

1  2 
bl1/aarch64/bl1_arch_setup.c
bl1/aarch64/bl1_entrypoint.S

index a1ebbdb207fe87775627a51175d0b66cd1b7978f,1b14246b70f793ee5898d95c6b9249b22226cef6..5725bac1283767185b72a10fe1971537e3cfe9b3
@@@ -39,12 -39,10 +39,11 @@@ void bl1_arch_setup(void
  {
        unsigned long tmp_reg = 0;
  
-       /* Enable alignment checks and set the exception endianess 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);
 +      isb();
  
        /*
         * Enable HVCs, route FIQs to EL3, set the next EL to be AArch64, route
Simple merge