+2
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The refactoring of el2_setup split code setting up EL2 and detecting the CPU boot mode in separate chunks. This allows the code that sets up EL2 to run in an endian independent way - ie before the endianess is set up in the respective sctlr registers. This patch brings secondary_entry up-to-date so that CPUs entering the kernel through this code path set-up EL2 and the cpu boot mode properly. Signed-off-by:Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by:
Mark Rutland <mark.rutand@arm.com> Signed-off-by:
Catalin Marinas <catalin.marinas@arm.com>