developer | 6d207b4 | 2022-07-07 19:30:22 +0800 | [diff] [blame] | 1 | # |
| 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 |
| 8 | SEPARATE_CODE_AND_RODATA := 1 |
| 9 | # ARMv8.2 and above need enable HW assist coherence |
| 10 | HW_ASSISTED_COHERENCY := 1 |
| 11 | # No need coherency memory because of HW assistency |
| 12 | USE_COHERENT_MEM := 0 |
| 13 | # GIC600 |
| 14 | GICV3_SUPPORT_GIC600 := 1 |
| 15 | # |
| 16 | # MTK options |
| 17 | # |
| 18 | PLAT_EXTRA_RODATA_INCLUDES := 1 |
Hui Liu | 39ea614 | 2022-07-28 20:28:32 +0800 | [diff] [blame^] | 19 | USE_PMIC_WRAP_INIT_V2 := 1 |
developer | 6d207b4 | 2022-07-07 19:30:22 +0800 | [diff] [blame] | 20 | |
| 21 | # Configs for A78 and A55 |
| 22 | CTX_INCLUDE_AARCH32_REGS := 0 |
| 23 | ERRATA_A55_1530923 := 1 |
| 24 | ERRATA_A55_1221012 := 1 |
| 25 | ERRATA_A78_1688305 := 1 |
| 26 | ERRATA_A78_1941498 := 1 |
| 27 | ERRATA_A78_1951500 := 1 |
| 28 | ERRATA_A78_1821534 := 1 |
| 29 | ERRATA_A78_2132060 := 1 |
| 30 | ERRATA_A78_2242635 := 1 |
| 31 | |
| 32 | MACH_MT8188 := 1 |
| 33 | $(eval $(call add_define,MACH_MT8188)) |