mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-12-12 12:46:00 +00:00
Merge pull request #1059 from kenkuang/intergration
fix a typo abort sctlr_el2
This commit is contained in:
commit
01ebe3d2c6
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user