developer | 72bccc1 | 2022-06-26 21:50:32 +0800 | [diff] [blame] | 1 | # |
| 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 |
| 8 | PROGRAMMABLE_RESET_ADDRESS := 1 |
| 9 | MULTI_CONSOLE_API := 1 |
| 10 | COLD_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. |
| 13 | CTX_INCLUDE_AARCH32_REGS := 0 |
| 14 | PLAT_XLAT_TABLES_DYNAMIC := 1 |
| 15 | # enable this definition to print irq dump status in tf-a |
| 16 | GIC_DEBUG := 0 |
| 17 | # Enable stack protector. |
| 18 | # Allowed values are "all", "strong", "default" and "none" |
| 19 | ENABLE_STACK_PROTECTOR := strong |
| 20 | # AMU, Kernel will access amuserenr_el0 if PE supported |
| 21 | # Firmware _must_ implement AMU support |
| 22 | ENABLE_AMU := 1 |
| 23 | VENDOR_EXTEND_PUBEVENT_ENABLE := 1 |
| 24 | |
| 25 | # MTK define options |
| 26 | MTK_BL33_IS_64BIT := 0 |
| 27 | MTK_ADAPTED := 1 |
| 28 | |
| 29 | # MTK module config |
| 30 | CONFIG_MTK_INTERRUPT := y |
| 31 | CONFIG_MTK_UART := y |
| 32 | |
| 33 | # UART baudrate |
| 34 | UART_BAUDRATE := 921600 |