blob: e5b3fc57d873c662f79e5123496f17144ebe05d2 [file] [log] [blame]
developer6d207b42022-07-07 19:30:22 +08001#
2# Copyright (c) 2022, 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# ARMv8.2 and above need enable HW assist coherence
10HW_ASSISTED_COHERENCY := 1
11# No need coherency memory because of HW assistency
12USE_COHERENT_MEM := 0
13# GIC600
14GICV3_SUPPORT_GIC600 := 1
15#
16# MTK options
17#
18PLAT_EXTRA_RODATA_INCLUDES := 1
19
20# Configs for A78 and A55
21CTX_INCLUDE_AARCH32_REGS := 0
22ERRATA_A55_1530923 := 1
23ERRATA_A55_1221012 := 1
24ERRATA_A78_1688305 := 1
25ERRATA_A78_1941498 := 1
26ERRATA_A78_1951500 := 1
27ERRATA_A78_1821534 := 1
28ERRATA_A78_2132060 := 1
29ERRATA_A78_2242635 := 1
30
31MACH_MT8188 := 1
32$(eval $(call add_define,MACH_MT8188))