Set processor endianness immediately after RESET
SCTLR_EL3.EE is being configured too late in bl1_arch_setup() and
bl31_arch_setup() after data accesses have already occured on
the cold and warm boot paths.

This control bit must be configured immediately on CPU reset to
match the endian state of the firmware (little endian).

Fixes ARM-software/tf-issues#145

Change-Id: Ie12e46fbbed6baf024c30beb50751591bb8c8655
1 parent e404d7f commit 40fd072548ab47ce21bc48dc8059513048693f4e
@Andrew Thoelke Andrew Thoelke authored on 24 Apr 2014
Showing 3 changed files
View
bl1/aarch64/bl1_arch_setup.c
View
bl1/aarch64/bl1_entrypoint.S
View
bl31/aarch64/bl31_arch_setup.c