diff options
| author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-09-25 09:39:51 +0100 |
|---|---|---|
| committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-09-28 15:31:53 +0100 |
| commit | fe199e3bac38cc824a280ec35b7d55b6dae9a9ca (patch) | |
| tree | 94cefddd9733069d5d79ba37096647d477e49846 /include/lib | |
| parent | 61d2b40d287f2007737498348ad2768bf7cd74d7 (diff) | |
Remove all other deprecated interfaces and files
Change-Id: Icd1cdd42afdc78895a9be6c46b414b0a155cfa63
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/lib')
| -rw-r--r-- | include/lib/aarch32/arch.h | 8 | ||||
| -rw-r--r-- | include/lib/aarch32/smcc_helpers.h | 14 | ||||
| -rw-r--r-- | include/lib/aarch32/smcc_macros.S | 15 | ||||
| -rw-r--r-- | include/lib/aarch64/arch.h | 4 | ||||
| -rw-r--r-- | include/lib/aarch64/smcc_helpers.h | 14 | ||||
| -rw-r--r-- | include/lib/cpus/aarch32/cortex_a53.h | 12 | ||||
| -rw-r--r-- | include/lib/cpus/aarch32/cortex_a57.h | 18 | ||||
| -rw-r--r-- | include/lib/cpus/aarch32/cortex_a72.h | 12 | ||||
| -rw-r--r-- | include/lib/cpus/aarch64/cortex_a53.h | 17 | ||||
| -rw-r--r-- | include/lib/cpus/aarch64/cortex_a57.h | 18 | ||||
| -rw-r--r-- | include/lib/cpus/aarch64/cortex_a72.h | 12 | ||||
| -rw-r--r-- | include/lib/smcc.h | 14 | ||||
| -rw-r--r-- | include/lib/smccc.h | 11 | ||||
| -rw-r--r-- | include/lib/smccc_v1.h | 3 | ||||
| -rw-r--r-- | include/lib/utils.h | 4 |
15 files changed, 0 insertions, 176 deletions
diff --git a/include/lib/aarch32/arch.h b/include/lib/aarch32/arch.h index be94887f..3536d203 100644 --- a/include/lib/aarch32/arch.h +++ b/include/lib/aarch32/arch.h @@ -126,10 +126,6 @@ #define SDCR_SPD_ENABLE U(0x3) #define SDCR_RESET_VAL U(0x0) -#if !ERROR_DEPRECATED -#define SDCR_DEF_VAL SDCR_SPD(SDCR_SPD_DISABLE) -#endif - /* HSCTLR definitions */ #define HSCTLR_RES1 ((U(1) << 29) | (U(1) << 28) | (U(1) << 23) | \ (U(1) << 22) | (U(1) << 18) | (U(1) << 16) | \ @@ -220,10 +216,6 @@ #define NSASEDIS_BIT (U(1) << 15) #define NSTRCDIS_BIT (U(1) << 20) /* NOTE: correct typo in the definitions */ -#if !ERROR_DEPRECATED -#define NASCR_CP11_BIT (U(1) << 11) -#define NASCR_CP10_BIT (U(1) << 10) -#endif #define NSACR_CP11_BIT (U(1) << 11) #define NSACR_CP10_BIT (U(1) << 10) #define NSACR_IMP_DEF_MASK (U(0x7) << 16) diff --git a/include/lib/aarch32/smcc_helpers.h b/include/lib/aarch32/smcc_helpers.h deleted file mode 100644 index 7f79f8fa..00000000 --- a/include/lib/aarch32/smcc_helpers.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#ifndef __SMCC_HELPERS_H__ -#define __SMCC_HELPERS_H__ - -#if !ERROR_DEPRECATED -#include <smccc_helpers.h> -#endif - -#endif /* __SMCC_HELPERS_H__ */ diff --git a/include/lib/aarch32/smcc_macros.S b/include/lib/aarch32/smcc_macros.S deleted file mode 100644 index 66f3d0ea..00000000 --- a/include/lib/aarch32/smcc_macros.S +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ -#ifndef __SMCC_MACROS_S__ -#define __SMCC_MACROS_S__ - -#if !ERROR_DEPRECATED -#include <smccc_macros.S> - -#define smcc_save_gp_mode_regs smccc_save_gp_mode_regs -#endif - -#endif /* __SMCC_MACROS_S__ */ diff --git a/include/lib/aarch64/arch.h b/include/lib/aarch64/arch.h index fed59445..a6022cb0 100644 --- a/include/lib/aarch64/arch.h +++ b/include/lib/aarch64/arch.h @@ -245,10 +245,6 @@ #define MDCR_TPM_BIT (U(1) << 6) #define MDCR_EL3_RESET_VAL U(0x0) -#if !ERROR_DEPRECATED -#define MDCR_DEF_VAL (MDCR_SDD_BIT | MDCR_SPD32(MDCR_SPD32_DISABLE)) -#endif - /* MDCR_EL2 definitions */ #define MDCR_EL2_TPMS (U(1) << 14) #define MDCR_EL2_E2PB(x) ((x) << 12) diff --git a/include/lib/aarch64/smcc_helpers.h b/include/lib/aarch64/smcc_helpers.h deleted file mode 100644 index 11300b7e..00000000 --- a/include/lib/aarch64/smcc_helpers.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#ifndef __SMCC_HELPERS_H__ -#define __SMCC_HELPERS_H__ - -#if !ERROR_DEPRECATED -#include <smccc_helpers.h> -#endif - -#endif /* __SMCC_HELPERS_H__ */ diff --git a/include/lib/cpus/aarch32/cortex_a53.h b/include/lib/cpus/aarch32/cortex_a53.h index 8e86df46..a7a681f5 100644 --- a/include/lib/cpus/aarch32/cortex_a53.h +++ b/include/lib/cpus/aarch32/cortex_a53.h @@ -67,16 +67,4 @@ ******************************************************************************/ #define CORTEX_A53_L2MERRSR p15, 3, c15 -#if !ERROR_DEPRECATED -/* - * These registers were previously wrongly named. Provide previous definitions so - * as not to break platforms that continue using them. - */ -#define CORTEX_A53_ACTLR CORTEX_A53_CPUACTLR - -#define CORTEX_A53_ACTLR_ENDCCASCI_SHIFT CORTEX_A53_CPUACTLR_ENDCCASCI_SHIFT -#define CORTEX_A53_ACTLR_ENDCCASCI CORTEX_A53_CPUACTLR_ENDCCASCI -#define CORTEX_A53_ACTLR_DTAH CORTEX_A53_CPUACTLR_DTAH -#endif /* !ERROR_DEPRECATED */ - #endif /* __CORTEX_A53_H__ */ diff --git a/include/lib/cpus/aarch32/cortex_a57.h b/include/lib/cpus/aarch32/cortex_a57.h index 18cabe11..3f0fb04b 100644 --- a/include/lib/cpus/aarch32/cortex_a57.h +++ b/include/lib/cpus/aarch32/cortex_a57.h @@ -79,22 +79,4 @@ ******************************************************************************/ #define CORTEX_A57_L2MERRSR p15, 3, c15 -#if !ERROR_DEPRECATED -/* - * These registers were previously wrongly named. Provide previous definitions so - * as not to break platforms that continue using them. - */ -#define CORTEX_A57_ACTLR CORTEX_A57_CPUACTLR - -#define CORTEX_A57_ACTLR_DIS_LOAD_PASS_DMB CORTEX_A57_CPUACTLR_DIS_LOAD_PASS_DMB -#define CORTEX_A57_ACTLR_GRE_NGRE_AS_NGNRE CORTEX_A57_CPUACTLR_GRE_NGRE_AS_NGNRE -#define CORTEX_A57_ACTLR_DIS_OVERREAD CORTEX_A57_CPUACTLR_DIS_OVERREAD -#define CORTEX_A57_ACTLR_NO_ALLOC_WBWA CORTEX_A57_CPUACTLR_NO_ALLOC_WBWA -#define CORTEX_A57_ACTLR_DCC_AS_DCCI CORTEX_A57_CPUACTLR_DCC_AS_DCCI -#define CORTEX_A57_ACTLR_FORCE_FPSCR_FLUSH CORTEX_A57_CPUACTLR_FORCE_FPSCR_FLUSH -#define CORTEX_A57_ACTLR_DIS_STREAMING CORTEX_A57_CPUACTLR_DIS_STREAMING -#define CORTEX_A57_ACTLR_DIS_L1_STREAMING CORTEX_A57_CPUACTLR_DIS_L1_STREAMING -#define CORTEX_A57_ACTLR_DIS_INDIRECT_PREDICTOR CORTEX_A57_CPUACTLR_DIS_INDIRECT_PREDICTOR -#endif /* !ERROR_DEPRECATED */ - #endif /* __CORTEX_A57_H__ */ diff --git a/include/lib/cpus/aarch32/cortex_a72.h b/include/lib/cpus/aarch32/cortex_a72.h index 0331ace7..1a3c014e 100644 --- a/include/lib/cpus/aarch32/cortex_a72.h +++ b/include/lib/cpus/aarch32/cortex_a72.h @@ -54,16 +54,4 @@ ******************************************************************************/ #define CORTEX_A72_L2MERRSR p15, 3, c15 -#if !ERROR_DEPRECATED -/* - * These registers were previously wrongly named. Provide previous definitions so - * as not to break platforms that continue using them. - */ -#define CORTEX_A72_ACTLR CORTEX_A72_CPUACTLR - -#define CORTEX_A72_ACTLR_DISABLE_L1_DCACHE_HW_PFTCH CORTEX_A72_CPUACTLR_DISABLE_L1_DCACHE_HW_PFTCH -#define CORTEX_A72_ACTLR_NO_ALLOC_WBWA CORTEX_A72_CPUACTLR_NO_ALLOC_WBWA -#define CORTEX_A72_ACTLR_DCC_AS_DCCI CORTEX_A72_CPUACTLR_DCC_AS_DCCI -#endif /* !ERROR_DEPRECATED */ - #endif /* __CORTEX_A72_H__ */ diff --git a/include/lib/cpus/aarch64/cortex_a53.h b/include/lib/cpus/aarch64/cortex_a53.h index 22c68006..9aa118b5 100644 --- a/include/lib/cpus/aarch64/cortex_a53.h +++ b/include/lib/cpus/aarch64/cortex_a53.h @@ -71,21 +71,4 @@ ******************************************************************************/ #define CORTEX_A53_L2MERRSR_EL1 S3_1_C15_C2_3 -#if !ERROR_DEPRECATED -/* - * These registers were previously wrongly named. Provide previous definitions - * so as not to break platforms that continue using them. - */ -#define CORTEX_A53_ACTLR_EL1 CORTEX_A53_CPUACTLR_EL1 - -#define CORTEX_A53_ACTLR_ENDCCASCI_SHIFT CORTEX_A53_CPUACTLR_EL1_ENDCCASCI_SHIFT -#define CORTEX_A53_ACTLR_ENDCCASCI CORTEX_A53_CPUACTLR_EL1_ENDCCASCI -#define CORTEX_A53_ACTLR_RADIS_SHIFT CORTEX_A53_CPUACTLR_EL1_RADIS_SHIFT -#define CORTEX_A53_ACTLR_RADIS CORTEX_A53_CPUACTLR_EL1_RADIS -#define CORTEX_A53_ACTLR_L1RADIS_SHIFT CORTEX_A53_CPUACTLR_EL1_L1RADIS_SHIFT -#define CORTEX_A53_ACTLR_L1RADIS CORTEX_A53_CPUACTLR_EL1_L1RADIS -#define CORTEX_A53_ACTLR_DTAH_SHIFT CORTEX_A53_CPUACTLR_EL1_DTAH_SHIFT -#define CORTEX_A53_ACTLR_DTAH CORTEX_A53_CPUACTLR_EL1_DTAH -#endif /* !ERROR_DEPRECATED */ - #endif /* __CORTEX_A53_H__ */ diff --git a/include/lib/cpus/aarch64/cortex_a57.h b/include/lib/cpus/aarch64/cortex_a57.h index 83ec9342..97d074e0 100644 --- a/include/lib/cpus/aarch64/cortex_a57.h +++ b/include/lib/cpus/aarch64/cortex_a57.h @@ -81,22 +81,4 @@ ******************************************************************************/ #define CORTEX_A57_L2MERRSR_EL1 S3_1_C15_C2_3 -#if !ERROR_DEPRECATED -/* - * These registers were previously wrongly named. Provide previous definitions so - * as not to break platforms that continue using them. - */ -#define CORTEX_A57_ACTLR_EL1 CORTEX_A57_CPUACTLR_EL1 - -#define CORTEX_A57_ACTLR_DIS_LOAD_PASS_DMB CORTEX_A57_CPUACTLR_EL1_DIS_LOAD_PASS_DMB -#define CORTEX_A57_ACTLR_GRE_NGRE_AS_NGNRE CORTEX_A57_CPUACTLR_EL1_GRE_NGRE_AS_NGNRE -#define CORTEX_A57_ACTLR_DIS_OVERREAD CORTEX_A57_CPUACTLR_EL1_DIS_OVERREAD -#define CORTEX_A57_ACTLR_NO_ALLOC_WBWA CORTEX_A57_CPUACTLR_EL1_NO_ALLOC_WBWA -#define CORTEX_A57_ACTLR_DCC_AS_DCCI CORTEX_A57_CPUACTLR_EL1_DCC_AS_DCCI -#define CORTEX_A57_ACTLR_FORCE_FPSCR_FLUSH CORTEX_A57_CPUACTLR_EL1_FORCE_FPSCR_FLUSH -#define CORTEX_A57_ACTLR_DIS_STREAMING CORTEX_A57_CPUACTLR_EL1_DIS_STREAMING -#define CORTEX_A57_ACTLR_DIS_L1_STREAMING CORTEX_A57_CPUACTLR_EL1_DIS_L1_STREAMING -#define CORTEX_A57_ACTLR_DIS_INDIRECT_PREDICTOR CORTEX_A57_CPUACTLR_EL1_DIS_INDIRECT_PREDICTOR -#endif /* !ERROR_DEPRECATED */ - #endif /* __CORTEX_A57_H__ */ diff --git a/include/lib/cpus/aarch64/cortex_a72.h b/include/lib/cpus/aarch64/cortex_a72.h index f5ca2ee7..5b9e06de 100644 --- a/include/lib/cpus/aarch64/cortex_a72.h +++ b/include/lib/cpus/aarch64/cortex_a72.h @@ -61,16 +61,4 @@ ******************************************************************************/ #define CORTEX_A72_L2MERRSR_EL1 S3_1_C15_C2_3 -#if !ERROR_DEPRECATED -/* - * These registers were previously wrongly named. Provide previous definitions so - * as not to break platforms that continue using them. - */ -#define CORTEX_A72_ACTLR CORTEX_A72_CPUACTLR_EL1 - -#define CORTEX_A72_ACTLR_DISABLE_L1_DCACHE_HW_PFTCH CORTEX_A72_CPUACTLR_EL1_DISABLE_L1_DCACHE_HW_PFTCH -#define CORTEX_A72_ACTLR_NO_ALLOC_WBWA CORTEX_A72_CPUACTLR_EL1_NO_ALLOC_WBWA -#define CORTEX_A72_ACTLR_DCC_AS_DCCI CORTEX_A72_CPUACTLR_EL1_DCC_AS_DCCI -#endif /* !ERROR_DEPRECATED */ - #endif /* __CORTEX_A72_H__ */ diff --git a/include/lib/smcc.h b/include/lib/smcc.h deleted file mode 100644 index ed1da2cf..00000000 --- a/include/lib/smcc.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#ifndef __SMCC_H__ -#define __SMCC_H__ - -#if !ERROR_DEPRECATED -#include <smccc.h> -#endif - -#endif /* __SMCC_H__ */ diff --git a/include/lib/smccc.h b/include/lib/smccc.h index a07e510b..b3dad102 100644 --- a/include/lib/smccc.h +++ b/include/lib/smccc.h @@ -57,17 +57,6 @@ * does not equal SMC_UNK. This is to ensure that the caller won't mistake the * returned UUID in x0 for an invalid SMC error return */ -#if !ERROR_DEPRECATED -#define DEFINE_SVC_UUID(_name, _tl, _tm, _th, _cl, _ch, \ - _n0, _n1, _n2, _n3, _n4, _n5) \ - CASSERT((uint32_t)(_tl) != (uint32_t) SMC_UNK, invalid_svc_uuid);\ - static const uuid_t _name = { \ - _tl, _tm, _th, _cl, _ch, \ - { _n0, _n1, _n2, _n3, _n4, _n5 } \ - } -#endif - - #define DEFINE_SVC_UUID2(_name, _tl, _tm, _th, _cl, _ch, \ _n0, _n1, _n2, _n3, _n4, _n5) \ CASSERT((uint32_t)(_tl) != (uint32_t) SMC_UNK, invalid_svc_uuid);\ diff --git a/include/lib/smccc_v1.h b/include/lib/smccc_v1.h index 8718d158..98ef0211 100644 --- a/include/lib/smccc_v1.h +++ b/include/lib/smccc_v1.h @@ -66,9 +66,6 @@ #define SMC_32 U(0) #define SMC_TYPE_FAST ULL(1) -#if !ERROR_DEPRECATED -#define SMC_TYPE_STD ULL(0) -#endif #define SMC_TYPE_YIELD ULL(0) #define SMC_OK ULL(0) diff --git a/include/lib/utils.h b/include/lib/utils.h index 09ec8d99..d46d8461 100644 --- a/include/lib/utils.h +++ b/include/lib/utils.h @@ -7,10 +7,6 @@ #ifndef __UTILS_H__ #define __UTILS_H__ -#if !ERROR_DEPRECATED -#include <utils_def.h> -#endif - /* * C code should be put in this part of the header to avoid breaking ASM files * or linker scripts including it. |
