Browse Source

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: Masahiro Yamada <yamada.masahiro@socionext.com>
pull/1937/head
Masahiro Yamada 5 years ago
parent
commit
f998a052fd
  1. 2
      plat/socionext/uniphier/uniphier_image_desc.c

2
plat/socionext/uniphier/uniphier_image_desc.c

@ -80,7 +80,7 @@ static struct bl_mem_params_node uniphier_image_descs[] = {
VERSION_2, entry_point_info_t,
NON_SECURE | EXECUTABLE),
.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),
.next_handoff_image_id = INVALID_IMAGE_ID,

Loading…
Cancel
Save