blob: b26fa803b38ef18e489c08fd72285bc5a5932802 [file] [log] [blame]
Sona Mathewd28f8552023-03-14 17:58:13 -05001#
Sona Mathew595a31d2023-09-26 09:20:35 -05002# Copyright (c) 2023-2024, Arm Limited and Contributors. All rights reserved.
Sona Mathewd28f8552023-03-14 17:58:13 -05003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
Sona Mathew595a31d2023-09-26 09:20:35 -05007# Flags to enable the cpu structures in the Errata ABI file
8# file: services/std_svc/errata_abi/errata_abi_main.c. This is specifically
9# for platforms that need to enable errata based on non-arm interconnect IP.
Sona Mathewd28f8552023-03-14 17:58:13 -050010
11ifeq (${ERRATA_ABI_SUPPORT}, 1)
Sona Mathew8d1a1532023-09-26 17:49:51 -050012ifeq (${ERRATA_NON_ARM_INTERCONNECT}, 1)
Sona Mathewd28f8552023-03-14 17:58:13 -050013ifeq (${CTX_INCLUDE_AARCH32_REGS}, 0)
Sona Mathewf3f371c2024-02-29 18:17:41 -060014CORTEX_A710_H_INC := 1
Sona Mathewd28f8552023-03-14 17:58:13 -050015CORTEX_A78_H_INC := 1
Sona Mathewd28f8552023-03-14 17:58:13 -050016CORTEX_A78_AE_H_INC := 1
Sona Mathewd28f8552023-03-14 17:58:13 -050017CORTEX_A78C_H_INC := 1
Sona Mathewf3f371c2024-02-29 18:17:41 -060018CORTEX_X3_H_INC := 1
Sona Mathew9421e522024-03-01 13:36:21 -060019CORTEX_X4_H_INC := 1
Sona Mathewf3f371c2024-02-29 18:17:41 -060020NEOVERSE_N2_H_INC := 1
21NEOVERSE_V1_H_INC := 1
22$(eval $(call add_define, CORTEX_A710_H_INC))
Sona Mathewd28f8552023-03-14 17:58:13 -050023$(eval $(call add_define, CORTEX_A78_H_INC))
Sona Mathewd28f8552023-03-14 17:58:13 -050024$(eval $(call add_define, CORTEX_A78_AE_H_INC))
Sona Mathewd28f8552023-03-14 17:58:13 -050025$(eval $(call add_define, CORTEX_A78C_H_INC))
Sona Mathewf3f371c2024-02-29 18:17:41 -060026$(eval $(call add_define, CORTEX_X3_H_INC))
Sona Mathew9421e522024-03-01 13:36:21 -060027$(eval $(call add_define, CORTEX_X4_H_INC))
Sona Mathewf3f371c2024-02-29 18:17:41 -060028$(eval $(call add_define, NEOVERSE_N2_H_INC))
29$(eval $(call add_define, NEOVERSE_V1_H_INC))
Sona Mathewd28f8552023-03-14 17:58:13 -050030endif
Sona Mathewd28f8552023-03-14 17:58:13 -050031endif
Sona Mathew8d1a1532023-09-26 17:49:51 -050032endif