fix a typo about sctlr_el2
which will cause write_sctlr_el2 use all sctlr_el1 value except the EE bit

The code doesn't "Use SCTLR_EL1.EE value to initialise sctlr_el2"
but, read out SCTLR_EL1 and clear EE bit, then set to sctlr_el2

Signed-off-by: Ken Kuang <ken.kuang@spreadtrum.com>
1 parent 096b7af commit 2e09d4f804f9a4005c6e297e7d775829344e5b22
@Ken Kuang Ken Kuang authored on 23 Aug 2017
Showing 1 changed file
View
lib/el3_runtime/aarch64/context_mgmt.c