Initialize SCTLR_EL1 based on MODE_RW bit
authorJens Wiklander <jens.wiklander@linaro.org>
Thu, 4 Sep 2014 08:23:27 +0000 (10:23 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Tue, 16 Sep 2014 18:39:32 +0000 (11:39 -0700)
commitae213cee8c38af64ba82c1c9e94598d7efe46327
tree80454bb25c54a250164b7af2d23e7086615516d4
parent087b67a62b0a98b486e5ac332d979a6e5490fe8a
Initialize SCTLR_EL1 based on MODE_RW bit

Initializes SCTLR_EL1 based on MODE_RW bit in SPSR for the entry
point. The RES1 bits for SCTLR_EL1 differs for Aarch64 and Aarch32
mode.
bl31/context_mgmt.c
include/lib/aarch64/arch.h