From f998a052fd94ea082833109f25b94ed5bfa24e8b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 25 Jul 2019 10:57:38 +0900 Subject: [PATCH] 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 --- plat/socionext/uniphier/uniphier_image_desc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/socionext/uniphier/uniphier_image_desc.c b/plat/socionext/uniphier/uniphier_image_desc.c index 9e171e073..817029a2c 100644 --- a/plat/socionext/uniphier/uniphier_image_desc.c +++ b/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,