Commit f998a052 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

uniphier: run BL33 at EL2



All the SoCs in 64-bit UniPhier SoC family support EL2.

Just hard-code MODE_EL2 instead of using el_implemented() helper.

Change-Id: I7ab48002c5205bc8c013e1b46313b57d6c431db0
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 86ed8953
...@@ -80,7 +80,7 @@ static struct bl_mem_params_node uniphier_image_descs[] = { ...@@ -80,7 +80,7 @@ static struct bl_mem_params_node uniphier_image_descs[] = {
VERSION_2, entry_point_info_t, VERSION_2, entry_point_info_t,
NON_SECURE | EXECUTABLE), NON_SECURE | EXECUTABLE),
.ep_info.pc = UNIPHIER_BL33_BASE, .ep_info.pc = UNIPHIER_BL33_BASE,
.ep_info.spsr = SPSR_64(MODE_EL1, MODE_SP_ELX, .ep_info.spsr = SPSR_64(MODE_EL2, MODE_SP_ELX,
DISABLE_ALL_EXCEPTIONS), DISABLE_ALL_EXCEPTIONS),
.next_handoff_image_id = INVALID_IMAGE_ID, .next_handoff_image_id = INVALID_IMAGE_ID,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment