xref: /rk3399_ARM-atf/plat/mediatek/common/common_config.mk (revision 455cd0d3b55b3588e29bc4c44cec529fee7351e1)
1394b9208SLeon Chen#
2394b9208SLeon Chen# Copyright (c) 2022, MediaTek Inc. All rights reserved.
3394b9208SLeon Chen#
4394b9208SLeon Chen# SPDX-License-Identifier: BSD-3-Clause
5394b9208SLeon Chen#
6394b9208SLeon Chen
7394b9208SLeon Chen# indicate the reset vector address can be programmed
8394b9208SLeon ChenPROGRAMMABLE_RESET_ADDRESS := 1
9394b9208SLeon ChenCOLD_BOOT_SINGLE_CPU := 1
10394b9208SLeon Chen# Build flag to include AArch32 registers in cpu context save and restore during
11394b9208SLeon Chen# world switch. This flag must be set to 0 for AArch64-only platforms.
12394b9208SLeon ChenCTX_INCLUDE_AARCH32_REGS := 0
13394b9208SLeon ChenPLAT_XLAT_TABLES_DYNAMIC := 1
14394b9208SLeon Chen# enable this definition to print irq dump status in tf-a
15394b9208SLeon ChenGIC_DEBUG := 0
16394b9208SLeon Chen# Enable stack protector.
17394b9208SLeon Chen# Allowed values are "all", "strong", "default" and "none"
18394b9208SLeon ChenENABLE_STACK_PROTECTOR := strong
19394b9208SLeon Chen# AMU, Kernel will access amuserenr_el0 if PE supported
20394b9208SLeon Chen# Firmware _must_ implement AMU support
21*d23acc9eSAndre PrzywaraENABLE_FEAT_AMU := 2
22394b9208SLeon ChenVENDOR_EXTEND_PUBEVENT_ENABLE := 1
23394b9208SLeon Chen
24394b9208SLeon Chen# MTK define options
25394b9208SLeon ChenMTK_BL33_IS_64BIT := 0
26394b9208SLeon ChenMTK_ADAPTED := 1
27394b9208SLeon Chen
28394b9208SLeon Chen# MTK module config
29394b9208SLeon ChenCONFIG_MTK_INTERRUPT := y
30394b9208SLeon ChenCONFIG_MTK_UART := y
31394b9208SLeon Chen
32394b9208SLeon Chen# UART baudrate
33394b9208SLeon ChenUART_BAUDRATE := 921600
34