blob: 3cf0a0ede391775d99772c7a1d04f77a5ee6c9ab [file] [log] [blame]
Manish Pandey3d4edb92023-10-30 15:20:14 +00001diff --git a/plat/arm/common/arm_common.c b/plat/arm/common/arm_common.c
Harrison Mutai73a28be2025-07-10 13:52:33 +00002index d91bd3e8c..4dd6edeb7 100644
Manish Pandey3d4edb92023-10-30 15:20:14 +00003--- a/plat/arm/common/arm_common.c
4+++ b/plat/arm/common/arm_common.c
Harrison Mutai73a28be2025-07-10 13:52:33 +00005@@ -86,7 +86,7 @@ uint32_t arm_get_spsr(unsigned int image_id)
Manish Pandey3d4edb92023-10-30 15:20:14 +00006
Harrison Mutai73a28be2025-07-10 13:52:33 +00007 #ifdef __aarch64__
Manish Pandey3d4edb92023-10-30 15:20:14 +00008 /* Figure out what mode we enter the non-secure world in */
9- mode = (el_implemented(2) != EL_IMPL_NONE) ? MODE_EL2 : MODE_EL1;
10+ mode = MODE_EL1;
11
12 /*
13 * TODO: Consider the possibility of specifying the SPSR in