aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-11-22 17:36:29 +0000
committerSandrine Bailleux <sandrine.bailleux@arm.com>2018-11-26 15:09:49 +0000
commitffe9da6050919bf068858aac723b20d814dda574 (patch)
tree718422e173ec49041f2d1567f1ceedc983825f06 /lib
parentec58849b6d64f39f5009d8092aa2e8ca9a76432a (diff)
downloadtf-a-tests-ffe9da6050919bf068858aac723b20d814dda574.tar.gz
Remove unused AArch64 assembly helpers
Change-Id: I55a567014023d593ec96dd9eff71bfca01db9c61 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/aarch64/misc_helpers.S26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/aarch64/misc_helpers.S b/lib/aarch64/misc_helpers.S
index 6acaa868..7c9da92a 100644
--- a/lib/aarch64/misc_helpers.S
+++ b/lib/aarch64/misc_helpers.S
@@ -8,9 +8,6 @@
#include <asm_macros.S>
#include <assert_macros.S>
- .globl get_afflvl_shift
- .globl mpidr_mask_lower_afflvls
- .globl eret
.globl smc
.globl zeromem16
@@ -19,29 +16,6 @@
.globl disable_mmu
.globl disable_mmu_icache
-func get_afflvl_shift
- cmp x0, #3
- cinc x0, x0, eq
- mov x1, #MPIDR_AFFLVL_SHIFT
- lsl x0, x0, x1
- ret
-endfunc get_afflvl_shift
-
-func mpidr_mask_lower_afflvls
- cmp x1, #3
- cinc x1, x1, eq
- mov x2, #MPIDR_AFFLVL_SHIFT
- lsl x2, x1, x2
- lsr x0, x0, x2
- lsl x0, x0, x2
- ret
-endfunc mpidr_mask_lower_afflvls
-
-
-func eret
- eret
-endfunc eret
-
func smc
smc #0
endfunc smc