xref: /rk3399_ARM-atf/plat/mediatek/mt8188/plat_config.mk (revision e9310c34b018944a6c29a8f408f0a34b43a0df6d)
1de310e1eSRex-BC Chen#
2de310e1eSRex-BC Chen# Copyright (c) 2022, MediaTek Inc. All rights reserved.
3de310e1eSRex-BC Chen#
4de310e1eSRex-BC Chen# SPDX-License-Identifier: BSD-3-Clause
5de310e1eSRex-BC Chen#
6de310e1eSRex-BC Chen
7de310e1eSRex-BC Chen# Separate text code and read only data
8de310e1eSRex-BC ChenSEPARATE_CODE_AND_RODATA := 1
9de310e1eSRex-BC Chen# ARMv8.2 and above need enable HW assist coherence
10de310e1eSRex-BC ChenHW_ASSISTED_COHERENCY := 1
11de310e1eSRex-BC Chen# No need coherency memory because of HW assistency
12de310e1eSRex-BC ChenUSE_COHERENT_MEM := 0
13de310e1eSRex-BC Chen# GIC600
14de310e1eSRex-BC ChenGICV3_SUPPORT_GIC600 := 1
15de310e1eSRex-BC Chen#
16de310e1eSRex-BC Chen# MTK options
17de310e1eSRex-BC Chen#
18de310e1eSRex-BC ChenPLAT_EXTRA_RODATA_INCLUDES := 1
19*e9310c34SHui LiuUSE_PMIC_WRAP_INIT_V2 := 1
20de310e1eSRex-BC Chen
21de310e1eSRex-BC Chen# Configs for A78 and A55
22de310e1eSRex-BC ChenCTX_INCLUDE_AARCH32_REGS := 0
23de310e1eSRex-BC ChenERRATA_A55_1530923 := 1
24de310e1eSRex-BC ChenERRATA_A55_1221012 := 1
25de310e1eSRex-BC ChenERRATA_A78_1688305 := 1
26de310e1eSRex-BC ChenERRATA_A78_1941498 := 1
27de310e1eSRex-BC ChenERRATA_A78_1951500 := 1
28de310e1eSRex-BC ChenERRATA_A78_1821534 := 1
29de310e1eSRex-BC ChenERRATA_A78_2132060 := 1
30de310e1eSRex-BC ChenERRATA_A78_2242635 := 1
31de310e1eSRex-BC Chen
32de310e1eSRex-BC ChenMACH_MT8188 := 1
33de310e1eSRex-BC Chen$(eval $(call add_define,MACH_MT8188))
34