plat_config.mk 999 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # Copyright (c) 2024, MediaTek Inc. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. # Separate text code and read only data
  7. SEPARATE_CODE_AND_RODATA := 1
  8. # ARMv8.2 and above need enable HW assist coherence
  9. HW_ASSISTED_COHERENCY := 1
  10. # No need coherency memory because of HW assistency
  11. USE_COHERENT_MEM := 0
  12. # GIC600
  13. GICV3_SUPPORT_GIC600 := 1
  14. #
  15. # MTK options
  16. #
  17. PLAT_EXTRA_RODATA_INCLUDES := 1
  18. USE_PMIC_WRAP_INIT_V2 := 1
  19. # Configs for A78 and A55
  20. CTX_INCLUDE_AARCH32_REGS := 0
  21. CONFIG_ARCH_ARM_V9 := y
  22. CONFIG_MTK_MCUSYS := y
  23. MCUSYS_VERSION := v1
  24. CONFIG_MTK_PM_SUPPORT := y
  25. CONFIG_MTK_PM_ARCH := 9_0
  26. CONFIG_MTK_CPU_PM_SUPPORT := y
  27. CONFIG_MTK_CPU_PM_ARCH := 5_4
  28. CONFIG_MTK_SMP_EN := n
  29. CONFIG_MTK_CPU_SUSPEND_EN := y
  30. CONFIG_MTK_SPM_VERSION := mt8196
  31. CONFIG_MTK_SUPPORT_SYSTEM_SUSPEND := y
  32. CONFIG_MTK_TINYSYS_VCP := y
  33. CPU_PM_TINYSYS_SUPPORT := y
  34. MTK_PUBEVENT_ENABLE := y
  35. ENABLE_FEAT_AMU := 1
  36. ENABLE_FEAT_ECV := 1
  37. ENABLE_FEAT_FGT := 1
  38. ENABLE_FEAT_HCX := 1
  39. ENABLE_SVE_FOR_SWD := 1