common_config.mk 942 B

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