mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00

Add armv8.2 support for MT8188. Signed-off-by: Edward-JW Yang <edward-jw.yang@mediatek.com> Change-Id: I0ac865949ba864fb207ee1f0937092cbabd550de
37 lines
840 B
Makefile
37 lines
840 B
Makefile
#
|
|
# Copyright (c) 2022, MediaTek Inc. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# Separate text code and read only data
|
|
SEPARATE_CODE_AND_RODATA := 1
|
|
# ARMv8.2 and above need enable HW assist coherence
|
|
HW_ASSISTED_COHERENCY := 1
|
|
# No need coherency memory because of HW assistency
|
|
USE_COHERENT_MEM := 0
|
|
# GIC600
|
|
GICV3_SUPPORT_GIC600 := 1
|
|
#
|
|
# MTK options
|
|
#
|
|
PLAT_EXTRA_RODATA_INCLUDES := 1
|
|
USE_PMIC_WRAP_INIT_V2 := 1
|
|
USE_RTC_MT6359P := 1
|
|
|
|
# Configs for A78 and A55
|
|
CTX_INCLUDE_AARCH32_REGS := 0
|
|
ERRATA_A55_1530923 := 1
|
|
ERRATA_A55_1221012 := 1
|
|
ERRATA_A78_1688305 := 1
|
|
ERRATA_A78_1941498 := 1
|
|
ERRATA_A78_1951500 := 1
|
|
ERRATA_A78_1821534 := 1
|
|
ERRATA_A78_2132060 := 1
|
|
ERRATA_A78_2242635 := 1
|
|
ERRATA_A78_2376745 := 1
|
|
ERRATA_A78_2395406 := 1
|
|
|
|
CONFIG_ARCH_ARM_V8_2 := y
|
|
MACH_MT8188 := 1
|
|
$(eval $(call add_define,MACH_MT8188))
|