1# 2# Copyright (c) 2025, MediaTek Inc. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7# Separate text code and read only data 8SEPARATE_CODE_AND_RODATA := 1 9 10# ARMv8.2 and above need enable HW assist coherence 11HW_ASSISTED_COHERENCY := 1 12 13# No need coherency memory because of HW assistency 14USE_COHERENT_MEM := 0 15 16# GIC600 17GICV3_SUPPORT_GIC600 := 1 18 19# 20# MTK options 21# 22MCUSYS_VERSION := v1 23PLAT_EXTRA_RODATA_INCLUDES := 1 24CONFIG_MTK_DISABLE_CACHE_AS_RAM := $(COREBOOT) 25 26CONFIG_MTK_PMIC := y 27CONFIG_MTK_PMIC_LOWPOWER := y 28CONFIG_MTK_PMIC_SHUTDOWN_CFG := y 29CONFIG_MTK_PMIC_SHUTDOWN_V2 := y 30CONFIG_MTK_SPMI := y 31PMIC_CHIP := mt6359p 32USE_PMIC_WRAP_INIT_V3 := 1 33 34# Configs for A78 and A55 35CTX_INCLUDE_AARCH32_REGS := 0 36ERRATA_A55_1530923 := 1 37ERRATA_A55_1221012 := 1 38ERRATA_A78_1688305 := 1 39ERRATA_A78_1941498 := 1 40ERRATA_A78_1951500 := 1 41ERRATA_A78_1821534 := 1 42ERRATA_A78_2132060 := 1 43ERRATA_A78_2242635 := 1 44ERRATA_A78_2376745 := 1 45ERRATA_A78_2395406 := 1 46 47CONFIG_ARCH_ARM_V8_2 := y 48