misc_helpers: fix zero_normalmem() for BL2_AT_EL3
The assertion in zero_normalmem() fails for BL2_AT_EL3.  This mode is
executed in EL3, so it should check sctlr_el3 instead of sctlr_el1.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent e45820d commit 79c7e72829115117d0cdca50c0e1a789623d8ee9
@Masahiro Yamada Masahiro Yamada authored on 31 Jan 2018
Showing 1 changed file
View
lib/aarch64/misc_helpers.S