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 |
| 2 | index fc681149e..4ef0070b5 100644 |
| 3 | --- a/plat/arm/common/arm_common.c |
| 4 | +++ b/plat/arm/common/arm_common.c |
| 5 | @@ -90,7 +90,7 @@ uint32_t arm_get_spsr_for_bl33_entry(void) |
| 6 | uint32_t spsr; |
| 7 | |
| 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 |