| # Copyright (c) 2022-2023, MediaTek Inc. All rights reserved. |
| # SPDX-License-Identifier: BSD-3-Clause |
| # Separate text code and read only data |
| SEPARATE_CODE_AND_RODATA := 1 |
| # ARMv8.2 and above need enable HW assist coherence |
| HW_ASSISTED_COHERENCY := 1 |
| # No need coherency memory because of HW assistency |
| GICV3_SUPPORT_GIC600 := 1 |
| PLAT_EXTRA_RODATA_INCLUDES := 1 |
| USE_PMIC_WRAP_INIT_V2 := 1 |
| # Configs for A78 and A55 |
| CTX_INCLUDE_AARCH32_REGS := 0 |
| CONFIG_ARCH_ARM_V8_2 := y |
| CONFIG_MTK_PM_SUPPORT := y |
| CONFIG_MTK_PM_ARCH := 8_2 |
| CONFIG_MTK_CPU_PM_SUPPORT := y |
| CONFIG_MTK_CPU_PM_ARCH := 3_2 |
| CONFIG_MTK_CPU_SUSPEND_EN := y |
| CONFIG_MTK_SPM_VERSION := mt8188 |
| CONFIG_MTK_SUPPORT_SYSTEM_SUSPEND := y |
| CPU_PM_TINYSYS_SUPPORT := y |
| $(eval $(call add_define,MACH_MT8188)) |