blob: 300242bd5d5604124d7fbcd4432d8238d851b90e [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
developer72bccc12022-06-26 21:50:32 +08009COLD_BOOT_SINGLE_CPU := 1
10# Build flag to include AArch32 registers in cpu context save and restore during
11# world switch. This flag must be set to 0 for AArch64-only platforms.
12CTX_INCLUDE_AARCH32_REGS := 0
13PLAT_XLAT_TABLES_DYNAMIC := 1
14# enable this definition to print irq dump status in tf-a
15GIC_DEBUG := 0
16# Enable stack protector.
17# Allowed values are "all", "strong", "default" and "none"
18ENABLE_STACK_PROTECTOR := strong
19# AMU, Kernel will access amuserenr_el0 if PE supported
20# Firmware _must_ implement AMU support
Andre Przywara0b7f1b02023-03-21 13:53:19 +000021ENABLE_FEAT_AMU := 2
developer72bccc12022-06-26 21:50:32 +080022VENDOR_EXTEND_PUBEVENT_ENABLE := 1
23
24# MTK define options
25MTK_BL33_IS_64BIT := 0
26MTK_ADAPTED := 1
27
28# MTK module config
29CONFIG_MTK_INTERRUPT := y
30CONFIG_MTK_UART := y
31
32# UART baudrate
33UART_BAUDRATE := 921600