fvp_cpu_errata.mk 1016 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # Copyright (c) 2023-2024, Arm Limited and Contributors. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. # Flags to enable the cpu structures in the Errata ABI file
  7. # file: services/std_svc/errata_abi/errata_abi_main.c. This is specifically
  8. # for platforms that need to enable errata based on non-arm interconnect IP.
  9. ifeq (${ERRATA_ABI_SUPPORT}, 1)
  10. ifeq (${ERRATA_NON_ARM_INTERCONNECT}, 1)
  11. ifeq (${CTX_INCLUDE_AARCH32_REGS}, 0)
  12. CORTEX_A710_H_INC := 1
  13. CORTEX_A78_H_INC := 1
  14. CORTEX_A78_AE_H_INC := 1
  15. CORTEX_A78C_H_INC := 1
  16. CORTEX_X3_H_INC := 1
  17. CORTEX_X4_H_INC := 1
  18. NEOVERSE_N2_H_INC := 1
  19. NEOVERSE_V1_H_INC := 1
  20. $(eval $(call add_define, CORTEX_A710_H_INC))
  21. $(eval $(call add_define, CORTEX_A78_H_INC))
  22. $(eval $(call add_define, CORTEX_A78_AE_H_INC))
  23. $(eval $(call add_define, CORTEX_A78C_H_INC))
  24. $(eval $(call add_define, CORTEX_X3_H_INC))
  25. $(eval $(call add_define, CORTEX_X4_H_INC))
  26. $(eval $(call add_define, NEOVERSE_N2_H_INC))
  27. $(eval $(call add_define, NEOVERSE_V1_H_INC))
  28. endif
  29. endif
  30. endif