Manish Pandey | 3d4edb9 | 2023-10-30 15:20:14 +0000 | [diff] [blame] | 1 | diff --git a/plat/arm/common/arm_common.c b/plat/arm/common/arm_common.c |
Harrison Mutai | 73a28be | 2025-07-10 13:52:33 +0000 | [diff] [blame] | 2 | index d91bd3e8c..4dd6edeb7 100644 |
Manish Pandey | 3d4edb9 | 2023-10-30 15:20:14 +0000 | [diff] [blame] | 3 | --- a/plat/arm/common/arm_common.c |
| 4 | +++ b/plat/arm/common/arm_common.c |
Harrison Mutai | 73a28be | 2025-07-10 13:52:33 +0000 | [diff] [blame] | 5 | @@ -86,7 +86,7 @@ uint32_t arm_get_spsr(unsigned int image_id) |
Manish Pandey | 3d4edb9 | 2023-10-30 15:20:14 +0000 | [diff] [blame] | 6 | |
Harrison Mutai | 73a28be | 2025-07-10 13:52:33 +0000 | [diff] [blame] | 7 | #ifdef __aarch64__ |
Manish Pandey | 3d4edb9 | 2023-10-30 15:20:14 +0000 | [diff] [blame] | 8 | /* 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 |