summaryrefslogtreecommitdiff
path: root/common/bl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bl_common.c')
-rw-r--r--common/bl_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bl_common.c b/common/bl_common.c
index da027b66..b03165ba 100644
--- a/common/bl_common.c
+++ b/common/bl_common.c
@@ -78,8 +78,8 @@ void __dead2 drop_el(aapcs64_params *args,
unsigned long spsr,
unsigned long entrypoint)
{
- write_spsr(spsr);
- write_elr(entrypoint);
+ write_spsr_el3(spsr);
+ write_elr_el3(entrypoint);
eret(args->arg0,
args->arg1,
args->arg2,