Sona Mathew | d28f855 | 2023-03-14 17:58:13 -0500 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2023, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | |
| 8 | #/* |
| 9 | # * TODO: below lines of code to be removed |
| 10 | # * after abi and framework are synchronized |
| 11 | # */ |
| 12 | |
| 13 | ifeq (${ERRATA_ABI_SUPPORT}, 1) |
| 14 | # enable the cpu macros for errata abi interface |
| 15 | ifeq (${ARCH}, aarch64) |
| 16 | ifeq (${HW_ASSISTED_COHERENCY}, 0) |
| 17 | CORTEX_A35_H_INC := 1 |
| 18 | CORTEX_A53_H_INC := 1 |
| 19 | CORTEX_A57_H_INC := 1 |
| 20 | CORTEX_A72_H_INC := 1 |
| 21 | CORTEX_A73_H_INC := 1 |
| 22 | $(eval $(call add_define, CORTEX_A35_H_INC)) |
| 23 | $(eval $(call add_define, CORTEX_A53_H_INC)) |
| 24 | $(eval $(call add_define, CORTEX_A57_H_INC)) |
| 25 | $(eval $(call add_define, CORTEX_A72_H_INC)) |
| 26 | $(eval $(call add_define, CORTEX_A73_H_INC)) |
| 27 | else |
| 28 | ifeq (${CTX_INCLUDE_AARCH32_REGS}, 0) |
| 29 | CORTEX_A76_H_INC := 1 |
| 30 | CORTEX_A77_H_INC := 1 |
| 31 | CORTEX_A78_H_INC := 1 |
| 32 | NEOVERSE_N1_H_INC := 1 |
Arvind Ram Prakash | eb49113 | 2023-07-11 17:10:11 -0500 | [diff] [blame] | 33 | NEOVERSE_N2_H_INC := 1 |
Sona Mathew | d28f855 | 2023-03-14 17:58:13 -0500 | [diff] [blame] | 34 | NEOVERSE_V1_H_INC := 1 |
| 35 | CORTEX_A78_AE_H_INC := 1 |
| 36 | CORTEX_A510_H_INC := 1 |
| 37 | CORTEX_A710_H_INC := 1 |
| 38 | CORTEX_A715_H_INC := 1 |
| 39 | CORTEX_A78C_H_INC := 1 |
| 40 | CORTEX_X2_H_INC := 1 |
| 41 | $(eval $(call add_define, CORTEX_A76_H_INC)) |
| 42 | $(eval $(call add_define, CORTEX_A77_H_INC)) |
| 43 | $(eval $(call add_define, CORTEX_A78_H_INC)) |
| 44 | $(eval $(call add_define, NEOVERSE_N1_H_INC)) |
Arvind Ram Prakash | eb49113 | 2023-07-11 17:10:11 -0500 | [diff] [blame] | 45 | $(eval $(call add_define, NEOVERSE_N2_H_INC)) |
Sona Mathew | d28f855 | 2023-03-14 17:58:13 -0500 | [diff] [blame] | 46 | $(eval $(call add_define, NEOVERSE_V1_H_INC)) |
| 47 | $(eval $(call add_define, CORTEX_A78_AE_H_INC)) |
| 48 | $(eval $(call add_define, CORTEX_A510_H_INC)) |
| 49 | $(eval $(call add_define, CORTEX_A710_H_INC)) |
| 50 | $(eval $(call add_define, CORTEX_A715_H_INC)) |
| 51 | $(eval $(call add_define, CORTEX_A78C_H_INC)) |
| 52 | $(eval $(call add_define, CORTEX_X2_H_INC)) |
| 53 | endif |
| 54 | CORTEX_A55_H_INC := 1 |
| 55 | CORTEX_A75_H_INC := 1 |
| 56 | $(eval $(call add_define, CORTEX_A55_H_INC)) |
| 57 | $(eval $(call add_define, CORTEX_A75_H_INC)) |
| 58 | endif |
| 59 | else |
| 60 | CORTEX_A32_H_INC := 1 |
| 61 | $(eval $(call add_define, CORTEX_A32_H_INC)) |
| 62 | endif |
| 63 | endif |