blob: 31a61e02030cfb024e3dd14729b2d1409b730391 [file] [log] [blame]
developer72bccc12022-06-26 21:50:32 +08001#
2# Copyright (c) 2022, MediaTek Inc. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7# indicate the reset vector address can be programmed
8PROGRAMMABLE_RESET_ADDRESS := 1
9MULTI_CONSOLE_API := 1
10COLD_BOOT_SINGLE_CPU := 1
11# Build flag to include AArch32 registers in cpu context save and restore during
12# world switch. This flag must be set to 0 for AArch64-only platforms.
13CTX_INCLUDE_AARCH32_REGS := 0
14PLAT_XLAT_TABLES_DYNAMIC := 1
15# enable this definition to print irq dump status in tf-a
16GIC_DEBUG := 0
17# Enable stack protector.
18# Allowed values are "all", "strong", "default" and "none"
19ENABLE_STACK_PROTECTOR := strong
20# AMU, Kernel will access amuserenr_el0 if PE supported
21# Firmware _must_ implement AMU support
Andre Przywara0b7f1b02023-03-21 13:53:19 +000022ENABLE_FEAT_AMU := 2
developer72bccc12022-06-26 21:50:32 +080023VENDOR_EXTEND_PUBEVENT_ENABLE := 1
24
25# MTK define options
26MTK_BL33_IS_64BIT := 0
27MTK_ADAPTED := 1
28
29# MTK module config
30CONFIG_MTK_INTERRUPT := y
31CONFIG_MTK_UART := y
32
33# UART baudrate
34UART_BAUDRATE := 921600