diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2018-09-24 17:14:46 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-09-28 15:31:52 +0100 |
commit | 871de5373dfc590ea8d3384094f6d5de570b9524 (patch) | |
tree | 8ca2c51cae7926b09fedd072c4bfa3717725bfc4 /plat/compat/aarch64/plat_helpers_compat.S | |
parent | dadb16eac2692f9d43fcdc547650288d6aa9c9fa (diff) |
PSCI: Remove platform compatibility layer
Change-Id: I40d040aa05bcbf11536a96ce59827711456b93a8
Co-authored-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat/compat/aarch64/plat_helpers_compat.S')
-rw-r--r-- | plat/compat/aarch64/plat_helpers_compat.S | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/plat/compat/aarch64/plat_helpers_compat.S b/plat/compat/aarch64/plat_helpers_compat.S deleted file mode 100644 index 0c5551bc..00000000 --- a/plat/compat/aarch64/plat_helpers_compat.S +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#include <arch.h> -#include <asm_macros.S> -#include <assert_macros.S> -#include <platform_def.h> - - .globl plat_my_core_pos - .globl plat_is_my_cpu_primary - .globl plat_get_my_entrypoint - .weak platform_get_core_pos - - /* ----------------------------------------------------- - * Compatibility wrappers for new platform APIs. - * ----------------------------------------------------- - */ -func plat_my_core_pos - mrs x0, mpidr_el1 - b platform_get_core_pos -endfunc plat_my_core_pos - -func plat_is_my_cpu_primary - mrs x0, mpidr_el1 - b platform_is_primary_cpu -endfunc plat_is_my_cpu_primary - -func plat_get_my_entrypoint - mrs x0, mpidr_el1 - b platform_get_entrypoint -endfunc plat_get_my_entrypoint - - /* ----------------------------------------------------- - * int platform_get_core_pos(int mpidr); - * With this function: CorePos = (ClusterId * 4) + - * CoreId - * ----------------------------------------------------- - */ -func platform_get_core_pos - and x1, x0, #MPIDR_CPU_MASK - and x0, x0, #MPIDR_CLUSTER_MASK - add x0, x1, x0, LSR #6 - ret -endfunc platform_get_core_pos |