diff options
author | Vikram Kanigiri <vikram.kanigiri@arm.com> | 2014-03-11 17:41:00 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-03-21 17:17:48 +0000 |
commit | 6ba0b6d6743534b3d443602dc88558d62ea432b3 (patch) | |
tree | 4581ce3cd1104da70e38e8855ec35e824e5cb625 /common | |
parent | 5132060c48fe2dbc3ce64755cd83b61d6e017f10 (diff) | |
download | trusted-firmware-a-6ba0b6d6743534b3d443602dc88558d62ea432b3.tar.gz |
Remove partially qualified asm helper functions
Each ARM Trusted Firmware image should know in which EL it is running
and it should use the corresponding register directly instead of reading
currentEL and knowing which asm register to read/write
Change-Id: Ief35630190b6f07c8fbb7ba6cb20db308f002945
Diffstat (limited to 'common')
-rw-r--r-- | common/bl_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bl_common.c b/common/bl_common.c index da027b66b5..b03165ba34 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, |