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
diff --git a/common/bl_common.c b/common/bl_common.c
index da027b6..b03165b 100644
--- a/common/bl_common.c
+++ b/common/bl_common.c
@@ -78,8 +78,8 @@
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,