Merge pull request #1059 from kenkuang/intergration

fix a typo abort sctlr_el2
This commit is contained in:
davidcunado-arm 2017-08-25 17:25:39 +01:00 committed by GitHub
commit 01ebe3d2c6
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ void cm_prepare_el3_exit(uint32_t security_state)
/* Use SCTLR_EL1.EE value to initialise sctlr_el2 */
sctlr_elx = read_ctx_reg(get_sysregs_ctx(ctx),
CTX_SCTLR_EL1);
sctlr_elx &= ~SCTLR_EE_BIT;
sctlr_elx &= SCTLR_EE_BIT;
sctlr_elx |= SCTLR_EL2_RES1;
write_sctlr_el2(sctlr_elx);
} else if (EL_IMPLEMENTED(2)) {