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

So far we have the ENABLE_AMU build option to include AMU register handling code for enabling and context switch. There is also an ENABLE_FEAT_AMUv1 option, solely to protect the HAFGRTR_EL2 system register handling. The latter needs some alignment with the new feature scheme, but it conceptually overlaps with the ENABLE_AMU option. Since there is no real need for two separate options, unify both into a new ENABLE_FEAT_AMU name in a first step. This is mostly just renaming at this point, a subsequent patch will make use of the new feature handling scheme. Change-Id: I97d8a55bdee2ed1e1509fa9f2b09fd0bdd82736e Signed-off-by: Andre Przywara <andre.przywara@arm.com>
34 lines
965 B
Makefile
34 lines
965 B
Makefile
#
|
|
# Copyright (c) 2022, MediaTek Inc. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
# indicate the reset vector address can be programmed
|
|
PROGRAMMABLE_RESET_ADDRESS := 1
|
|
MULTI_CONSOLE_API := 1
|
|
COLD_BOOT_SINGLE_CPU := 1
|
|
# Build flag to include AArch32 registers in cpu context save and restore during
|
|
# world switch. This flag must be set to 0 for AArch64-only platforms.
|
|
CTX_INCLUDE_AARCH32_REGS := 0
|
|
PLAT_XLAT_TABLES_DYNAMIC := 1
|
|
# enable this definition to print irq dump status in tf-a
|
|
GIC_DEBUG := 0
|
|
# Enable stack protector.
|
|
# Allowed values are "all", "strong", "default" and "none"
|
|
ENABLE_STACK_PROTECTOR := strong
|
|
# AMU, Kernel will access amuserenr_el0 if PE supported
|
|
# Firmware _must_ implement AMU support
|
|
ENABLE_FEAT_AMU := 2
|
|
VENDOR_EXTEND_PUBEVENT_ENABLE := 1
|
|
|
|
# MTK define options
|
|
MTK_BL33_IS_64BIT := 0
|
|
MTK_ADAPTED := 1
|
|
|
|
# MTK module config
|
|
CONFIG_MTK_INTERRUPT := y
|
|
CONFIG_MTK_UART := y
|
|
|
|
# UART baudrate
|
|
UART_BAUDRATE := 921600
|