blob: 2e3392f1286a78eb2e7313c749b4c8273161fff1 [file] [log] [blame]
developer6d207b42022-07-07 19:30:22 +08001#
developerd07accc2022-09-07 18:43:03 +08002# Copyright (c) 2022-2023, MediaTek Inc. All rights reserved.
developer6d207b42022-07-07 19:30:22 +08003#
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
Hui Liu39ea6142022-07-28 20:28:32 +080019USE_PMIC_WRAP_INIT_V2 := 1
Song Fana4efd722022-07-25 19:50:52 +080020USE_RTC_MT6359P := 1
developer6d207b42022-07-07 19:30:22 +080021
22# Configs for A78 and A55
23CTX_INCLUDE_AARCH32_REGS := 0
24ERRATA_A55_1530923 := 1
25ERRATA_A55_1221012 := 1
26ERRATA_A78_1688305 := 1
27ERRATA_A78_1941498 := 1
28ERRATA_A78_1951500 := 1
29ERRATA_A78_1821534 := 1
30ERRATA_A78_2132060 := 1
31ERRATA_A78_2242635 := 1
developera9846b22022-09-14 10:03:23 +080032ERRATA_A78_2376745 := 1
33ERRATA_A78_2395406 := 1
developer6d207b42022-07-07 19:30:22 +080034
developer3b31b932022-09-05 16:07:00 +080035CONFIG_ARCH_ARM_V8_2 := y
developer768f1122022-09-16 11:30:43 +080036CONFIG_MTK_MCUSYS := y
37MCUSYS_VERSION := v1
developer1d69df52022-09-05 17:36:36 +080038CONFIG_MTK_PM_SUPPORT := y
39CONFIG_MTK_PM_ARCH := 8_2
40CONFIG_MTK_CPU_PM_SUPPORT := y
41CONFIG_MTK_CPU_PM_ARCH := 3_2
42CONFIG_MTK_SMP_EN := y
43CONFIG_MTK_CPU_SUSPEND_EN := y
developerd07accc2022-09-07 18:43:03 +080044CONFIG_MTK_SPM_VERSION := mt8188
45CONFIG_MTK_SUPPORT_SYSTEM_SUSPEND := y
developer1d69df52022-09-05 17:36:36 +080046CPU_PM_TINYSYS_SUPPORT := y
developer3378af82022-10-14 16:19:25 +080047MTK_PUBEVENT_ENABLE := y
developer768f1122022-09-16 11:30:43 +080048
developer6d207b42022-07-07 19:30:22 +080049MACH_MT8188 := 1
50$(eval $(call add_define,MACH_MT8188))