blob: 516d9b4b0708bc9b14ea1742761548f1667a0cd7 [file] [log] [blame]
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +01001#
Boyan Karatotev593ae352023-03-22 15:55:36 +00002# Copyright (c) 2016-2025, Arm Limited. All rights reserved.
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +01003#
dp-arm82cb2c12017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +01005#
6
7# Default, static values for build variables, listed in alphabetic order.
8# Dependencies between build options, if any, are handled in the top-level
9# Makefile, after this file is included. This ensures that the former is better
10# poised to handle dependencies, as all build variables would have a default
11# value by then.
12
Boyan Karatotevee580c22025-04-11 14:27:55 +010013# Warning level to give to the compiler
14W := 0
15
Antonio Nino Diaz8fd9d4d2018-08-08 16:28:43 +010016# Use T32 by default
17AARCH32_INSTRUCTION_SET := T32
18
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +010019# The AArch32 Secure Payload to be built as BL32 image
20AARCH32_SP := none
21
22# The Target build architecture. Supported values are: aarch64, aarch32.
23ARCH := aarch64
24
Alexei Fedorovf1821792020-12-07 16:38:53 +000025# ARM Architecture feature modifiers: none by default
26ARM_ARCH_FEATURE := none
27
Jeenu Viswambharanc877b412017-01-16 16:52:35 +000028# ARM Architecture major and minor versions: 8.0 by default.
29ARM_ARCH_MAJOR := 8
30ARM_ARCH_MINOR := 0
31
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +010032# Base commit to perform code check on
33BASE_COMMIT := origin/master
34
Roberto Vargasb1d27b42017-10-30 14:43:43 +000035# Execute BL2 at EL3
Arvind Ram Prakash42d4d3b2022-11-22 14:41:00 -060036RESET_TO_BL2 := 0
Roberto Vargasb1d27b42017-10-30 14:43:43 +000037
Balint Dobszay46789a72021-03-26 16:23:18 +010038# Only use SP packages if SP layout JSON is defined
39BL2_ENABLE_SP_LOAD := 0
40
Jiafei Pan7d173fc2018-03-21 07:20:09 +000041# BL2 image is stored in XIP memory, for now, this option is only supported
Arvind Ram Prakash42d4d3b2022-11-22 14:41:00 -060042# when RESET_TO_BL2 is 1.
Jiafei Pan7d173fc2018-03-21 07:20:09 +000043BL2_IN_XIP_MEM := 0
44
Hadi Asyrafib90f2072019-08-20 15:33:27 +080045# Do dcache invalidate upon BL2 entry at EL3
46BL2_INV_DCACHE := 1
47
Alexei Fedorov9fc59632019-05-24 12:17:09 +010048# Select the branch protection features to use.
49BRANCH_PROTECTION := 0
50
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +010051# By default, consider that the platform may release several CPUs out of reset.
52# The platform Makefile is free to override this value.
53COLD_BOOT_SINGLE_CPU := 0
54
Julius Werner3429c772017-06-09 15:17:15 -070055# Flag to compile in coreboot support code. Exclude by default. The coreboot
56# Makefile system will set this when compiling TF as part of a coreboot image.
57COREBOOT := 0
58
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +010059# For Chain of Trust
60CREATE_KEYS := 1
61
62# Build flag to include AArch32 registers in cpu context save and restore during
63# world switch. This flag must be set to 0 for AArch64-only platforms.
64CTX_INCLUDE_AARCH32_REGS := 1
65
66# Include FP registers in cpu context
67CTX_INCLUDE_FPREGS := 0
68
Madhukar Pappireddy42422622024-06-17 15:17:03 -050069# Include SVE registers in cpu context
70CTX_INCLUDE_SVE_REGS := 0
71
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +010072# Debug build
73DEBUG := 0
74
Sumit Garg7cda17b2019-11-15 10:43:00 +053075# By default disable authenticated decryption support.
76DECRYPTION_SUPPORT := none
77
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +010078# Build platform
79DEFAULT_PLAT := fvp
80
Christoph Müllner9e4609f2019-04-24 09:45:30 +020081# Disable the generation of the binary image (ELF only).
82DISABLE_BIN_GENERATION := 0
83
Soby Mathew209a60c2018-03-26 12:43:37 +010084# Enable capability to disable authentication dynamically. Only meant for
85# development platforms.
86DYN_DISABLE_AUTH := 0
87
Chris Kay68120782021-05-05 13:38:30 +010088# Enable the Maximum Power Mitigation Mechanism on supporting cores.
89ENABLE_MPMM := 0
90
Boyan Karatotev2b5e00d2024-12-19 16:07:29 +000091# Enable support for powerdown abandons
92FEAT_PABANDON := 0
93
Soby Mathew3bd17c02018-08-28 11:13:55 +010094# Flag to Enable Position Independant support (PIE)
95ENABLE_PIE := 0
96
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +010097# Flag to enable Performance Measurement Framework
98ENABLE_PMF := 0
99
100# Flag to enable PSCI STATs functionality
101ENABLE_PSCI_STAT := 0
102
103# Flag to enable runtime instrumentation using PMF
104ENABLE_RUNTIME_INSTRUMENTATION := 0
105
Douglas Raillard51faada2017-02-24 18:14:15 +0000106# Flag to enable stack corruption protection
107ENABLE_STACK_PROTECTOR := 0
108
Jeenu Viswambharan21b818c2017-09-22 08:32:10 +0100109# Flag to enable exception handling in EL3
110EL3_EXCEPTION_HANDLING := 0
111
Boyan Karatotev593ae352023-03-22 15:55:36 +0000112# Flag to include all errata for all CPUs TF-A implements workarounds for
113# Its supposed to be used only for testing.
114ENABLE_ERRATA_ALL := 0
115
Sumit Gargc6ba9b42019-11-14 16:33:45 +0530116# By default BL31 encryption disabled
117ENCRYPT_BL31 := 0
118
119# By default BL32 encryption disabled
120ENCRYPT_BL32 := 0
121
122# Default dummy firmware encryption key
123ENC_KEY := 1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
124
125# Default dummy nonce for firmware encryption
126ENC_NONCE := 1234567890abcdef12345678
127
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100128# Build flag to treat usage of deprecated platform and framework APIs as error.
129ERROR_DEPRECATED := 0
130
Jeenu Viswambharan1a7c1cf2017-12-08 12:13:51 +0000131# Fault injection support
132FAULT_INJECTION_SUPPORT := 0
133
Jayanth Dodderi Chidanand6a0da732022-01-17 18:57:17 +0000134# Flag to enable architectural features detection mechanism
135FEATURE_DETECTION := 0
136
Masahiro Yamada1c75d5d2016-12-25 13:52:22 +0900137# Byte alignment that each component in FIP is aligned to
138FIP_ALIGN := 0
139
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100140# Default FIP file name
141FIP_NAME := fip.bin
142
143# Default FWU_FIP file name
144FWU_FIP_NAME := fwu_fip.bin
145
Sumit Gargc6ba9b42019-11-14 16:33:45 +0530146# By default firmware encryption with SSK
147FW_ENC_STATUS := 0
148
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100149# For Chain of Trust
150GENERATE_COT := 0
151
AlexeiFedorovd7660842024-05-13 15:35:54 +0100152# Default number of 512 blocks per bitlock
153RME_GPT_BITLOCK_BLOCK := 1
154
AlexeiFedorovec0088b2024-03-13 17:07:03 +0000155# Default maximum size of GPT contiguous block
Soby Mathew01faa992024-08-22 11:53:09 +0100156RME_GPT_MAX_BLOCK := 512
AlexeiFedorovec0088b2024-03-13 17:07:03 +0000157
Jeenu Viswambharan74dce7f2017-09-22 08:32:09 +0100158# Hint platform interrupt control layer that Group 0 interrupts are for EL3. By
159# default, they are for Secure EL1.
160GICV2_G0_FOR_EL3 := 0
161
Boyan Karatotev5d893412025-01-07 11:00:03 +0000162# Generic implementation of a GICvX driver
163USE_GIC_DRIVER := 0
164
Manish Pandey46cc41d2022-10-10 11:43:08 +0100165# Route NS External Aborts to EL3. Disabled by default; External Aborts are handled
Jeenu Viswambharan76454ab2017-11-30 12:54:15 +0000166# by lower ELs.
Manish Pandey46cc41d2022-10-10 11:43:08 +0100167HANDLE_EA_EL3_FIRST_NS := 0
Jeenu Viswambharan76454ab2017-11-30 12:54:15 +0000168
Raymond Mao3ba2c152023-07-25 07:53:35 -0700169# Enable Handoff protocol using transfer lists
170TRANSFER_LIST := 0
171
Levi Yun89535682024-05-13 10:24:31 +0100172# Enable HOB list to generate boot information
173HOB_LIST := 0
174
Bipin Ravi538516f2023-09-28 13:17:24 -0500175# Enables support for the gcc compiler option "-mharden-sls=all".
176# By default, disables all SLS hardening.
177HARDEN_SLS := 0
178
Alexei Fedorovae3cf1f2020-10-06 15:54:12 +0100179# Secure hash algorithm flag, accepts 3 values: sha256, sha384 and sha512.
180# The default value is sha256.
181HASH_ALG := sha256
182
Jeenu Viswambharan3c251af2017-01-04 13:51:42 +0000183# Whether system coherency is managed in hardware, without explicit software
184# operations.
185HW_ASSISTED_COHERENCY := 0
186
Varun Wadekar0ed3be62023-04-13 21:06:18 +0100187# Flag to enable trapping of implementation defined sytem registers
188IMPDEF_SYSREG_TRAP := 0
189
Soby Mathew20917552017-08-31 11:49:32 +0100190# Set the default algorithm for the generation of Trusted Board Boot keys
191KEY_ALG := rsa
192
Leonardo Sandovalee15a172020-06-18 17:32:55 -0500193# Set the default key size in case KEY_ALG is rsa
194ifeq ($(KEY_ALG),rsa)
195KEY_SIZE := 2048
196endif
197
Alexei Fedorov8c105292020-01-23 14:27:38 +0000198# Option to build TF with Measured Boot support
199MEASURED_BOOT := 0
200
Abhi.Singh36e3d872024-08-28 14:17:52 -0500201# Option to build TF with Discrete TPM support
202DISCRETE_TPM := 0
203
Tamas Bane7f11812023-06-07 13:35:04 +0200204# Option to enable the DICE Protection Environmnet as a Measured Boot backend
205DICE_PROTECTION_ENVIRONMENT :=0
206
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100207# NS timer register save and restore
208NS_TIMER_SWITCH := 0
209
Varun Wadekar77f1f7a2019-01-31 09:22:30 -0800210# Include lib/libc in the final image
211OVERRIDE_LIBC := 0
212
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100213# Build PL011 UART driver in minimal generic UART mode
214PL011_GENERIC_UART := 0
215
216# By default, consider that the platform's reset address is not programmable.
217# The platform Makefile is free to override this value.
218PROGRAMMABLE_RESET_ADDRESS := 0
219
Antonio Nino Diaz73308612019-02-28 13:35:21 +0000220# Flag used to choose the power state format: Extended State-ID or Original
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100221PSCI_EXTENDED_STATE_ID := 0
222
Wing Li64b47102023-01-26 18:33:36 -0800223# Enable PSCI OS-initiated mode support
224PSCI_OS_INIT_MODE := 0
225
Boyan Karatotev8db17052024-10-25 11:38:41 +0100226# SMCCC_ARCH_FEATURE_AVAILABILITY support
227ARCH_FEATURE_AVAILABILITY := 0
228
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100229# By default, BL1 acts as the reset handler, not BL31
230RESET_TO_BL31 := 0
231
232# For Chain of Trust
233SAVE_KEYS := 0
234
Jeenu Viswambharanb7cb1332017-10-16 08:43:14 +0100235# Software Delegated Exception support
johpow01dc78e622021-07-08 14:14:00 -0500236SDEI_SUPPORT := 0
Jeenu Viswambharanb7cb1332017-10-16 08:43:14 +0100237
Jayanth Dodderi Chidanand0b22e592022-10-11 17:16:07 +0100238# True Random Number firmware Interface support
johpow01dc78e622021-07-08 14:14:00 -0500239TRNG_SUPPORT := 0
Jimmy Brisson7dfb9912020-06-22 14:18:42 -0500240
Sona Mathewffea3842022-11-18 18:05:38 -0600241# Check to see if Errata ABI is supported
242ERRATA_ABI_SUPPORT := 0
243
Sona Mathewef63f5b2023-03-14 14:02:03 -0500244# Check to enable Errata ABI for platforms with non-arm interconnect
245ERRATA_NON_ARM_INTERCONNECT := 0
246
Jeremy Lintonc7a28aa2020-11-18 10:12:41 -0600247# SMCCC PCI support
johpow01dc78e622021-07-08 14:14:00 -0500248SMC_PCI_SUPPORT := 0
Jeremy Lintonc7a28aa2020-11-18 10:12:41 -0600249
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100250# Whether code and read-only data should be put on separate memory pages. The
251# platform Makefile is free to override this value.
252SEPARATE_CODE_AND_RODATA := 0
253
Samuel Hollandf8578e62018-10-17 21:40:18 -0500254# Put NOBITS sections (.bss, stacks, page tables, and coherent memory) in a
255# separate memory region, which may be discontiguous from the rest of BL31.
256SEPARATE_NOBITS_REGION := 0
257
Jiafei Pan96a8ed12022-02-24 10:47:33 +0800258# Put BL2 NOLOAD sections (.bss, stacks, page tables) in a separate memory
259# region, platform Makefile is free to override this value.
260SEPARATE_BL2_NOLOAD_REGION := 0
261
Ye Li86acbbe2022-08-26 13:48:31 +0800262# Put RW DATA sections (.rwdata) in a separate memory region, which may be
263# discontiguous from the rest of BL31.
264SEPARATE_RWDATA_REGION := 0
265
Madhukar Pappireddy308ebfa2024-06-17 15:26:00 -0500266# Put SIMD context data structures in a separate memory region. Platforms
267# have the choice to put it outside of default BSS region of EL3 firmware.
268SEPARATE_SIMD_SECTION := 0
269
Daniel Boulby1dcc28c2018-09-18 11:45:51 +0100270# If the BL31 image initialisation code is recalimed after use for the secondary
271# cores stack
272RECLAIM_INIT_CODE := 0
273
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100274# SPD choice
275SPD := none
276
Paul Beesley3f3c3412019-09-16 11:29:03 +0000277# Enable the Management Mode (MM)-based Secure Partition Manager implementation
278SPM_MM := 0
Antonio Nino Diaz2d7b9e52018-10-30 11:08:08 +0000279
Marc Bonnici1d63ae42021-12-01 18:00:40 +0000280# Use the FF-A SPMC implementation in EL3.
281SPMC_AT_EL3 := 0
282
Nishant Sharma801cd3c2023-06-27 00:36:01 +0100283# Enable SEL0 SP when SPMC is enabled at EL3
284SPMC_AT_EL3_SEL0_SP :=0
285
Max Shvetsov033039f2020-02-25 13:55:00 +0000286# Use SPM at S-EL2 as a default config for SPMD
287SPMD_SPM_AT_SEL2 := 1
288
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100289# Flag to introduce an infinite loop in BL1 just before it exits into the next
290# image. This is meant to help debugging the post-BL2 phase.
291SPIN_ON_BL1_EXIT := 0
292
293# Flags to build TF with Trusted Boot support
294TRUSTED_BOARD_BOOT := 0
295
Antonio Nino Diaze23e0572018-09-25 09:41:08 +0100296# Build option to choose whether Trusted Firmware uses Coherent memory or not.
Jeenu Viswambharan2fae4b12016-10-24 14:31:51 +0100297USE_COHERENT_MEM := 1
298
Olivier Deprez0ca39132019-09-19 17:46:46 +0200299# Build option to add debugfs support
300USE_DEBUGFS := 0
301
Louis Mayencourt0a6e7e32019-10-24 15:18:46 +0100302# Build option to fconf based io
Balint Dobszaycbf9e842019-12-18 15:28:00 +0100303ARM_IO_IN_DTB := 0
304
305# Build option to support SDEI through fconf
Madhukar Pappireddy452d5e52020-06-02 09:26:30 -0500306SDEI_IN_FCONF := 0
307
308# Build option to support Secure Interrupt descriptors through fconf
309SEC_INT_DESC_IN_FCONF := 0
Louis Mayencourt0a6e7e32019-10-24 15:18:46 +0100310
Antonio Nino Diaze23e0572018-09-25 09:41:08 +0100311# Build option to choose whether Trusted Firmware uses library at ROM
312USE_ROMLIB := 0
Roberto Vargas5accce52018-05-22 16:05:42 +0100313
Petre-Ionut Tudor60e8f3c2019-11-07 15:18:03 +0000314# Build option to choose whether the xlat tables of BL images can be read-only.
315# Note that this only serves as a higher level option to PLAT_RO_XLAT_TABLES,
316# which is the per BL-image option that actually enables the read-only tables
317# API. The reason for having this additional option is to have a common high
318# level makefile where we can check for incompatible features/build options.
319ALLOW_RO_XLAT_TABLES := 0
320
Sandrine Bailleux3bff9102020-01-15 10:23:25 +0100321# Chain of trust.
322COT := tbbr
323
Masahiro Yamadabb41eb72017-05-22 12:11:24 +0900324# Use tbbr_oid.h instead of platform_oid.h
Antonio Nino Diaze23e0572018-09-25 09:41:08 +0100325USE_TBBR_DEFS := 1
Masahiro Yamadabb41eb72017-05-22 12:11:24 +0900326
Soby Mathewbcc3c492017-04-10 22:35:42 +0100327# Whether to enable D-Cache early during warm boot. This is usually
328# applicable for platforms wherein interconnect programming is not
329# required to enable cache coherency after warm reset (eg: single cluster
330# platforms).
331WARMBOOT_ENABLE_DCACHE_EARLY := 0
dp-armd832aee2017-05-23 09:32:49 +0100332
Mark Brownbebcf272022-04-20 18:14:32 +0100333# Default SVE vector length to maximum architected value
334SVE_VECTOR_LEN := 2048
335
Justin Chadwell1f461972019-08-20 11:01:52 +0100336SANITIZE_UB := off
Soby Mathewc97cba42019-09-25 14:03:41 +0100337
338# For ARMv8.1 (AArch64) platforms, enabling this option selects the spinlock
339# implementation variant using the ARMv8.1-LSE compare-and-swap instruction.
340# Default: disabled
341USE_SPINLOCK_CAS := 0
zelalem-awekeedbce9a2019-11-12 16:20:17 -0600342
343# Enable Link Time Optimization
344ENABLE_LTO := 0
Max Shvetsov28f39f02020-02-25 13:56:19 +0000345
Govindraj Rajaf1910cc2022-11-21 13:10:40 +0000346# This option will include EL2 registers in cpu context save and restore during
347# EL2 firmware entry/exit. Internal flag not meant for direct setting.
348# Use SPD=spmd and SPMD_SPM_AT_SEL2=1 or ENABLE_RME=1 to enable
349# CTX_INCLUDE_EL2_REGS.
Max Shvetsov28f39f02020-02-25 13:56:19 +0000350CTX_INCLUDE_EL2_REGS := 0
Manish V Badarkhe7ff088d2020-03-22 05:06:38 +0000351
Manish V Badarkhe45aecff2020-04-28 04:53:32 +0100352# Select workaround for AT speculative behaviour.
johpow01dc78e622021-07-08 14:14:00 -0500353ERRATA_SPECULATIVE_AT := 0
Varun Wadekarfbc44bd2020-06-12 10:11:28 -0700354
Boyan Karatotev45c73282024-09-20 13:37:51 +0100355# select workaround for SME aborting powerdown
356ERRATA_SME_POWER_DOWN := 0
357
Manish Pandey00e8f792022-09-27 14:30:34 +0100358# Trap RAS error record access from Non secure
359RAS_TRAP_NS_ERR_REC_ACCESS := 0
Manish V Badarkhe84ef9cd2020-06-29 10:32:53 +0100360
361# Build option to create cot descriptors using fconf
362COT_DESC_IN_DTB := 0
Manish V Badarkhe582e4e72020-07-29 10:58:44 +0100363
Juan Pablo Condecf2dd172022-10-25 19:41:02 -0400364# Build option to provide OpenSSL directory path
Manish V Badarkhe582e4e72020-07-29 10:58:44 +0100365OPENSSL_DIR := /usr
Madhukar Pappireddyfddfb3b2020-08-12 13:18:19 -0500366
Salome Thirote95abc42022-07-14 16:14:15 +0100367# Select the openssl binary provided in OPENSSL_DIR variable
368ifeq ("$(wildcard ${OPENSSL_DIR}/bin)", "")
369 OPENSSL_BIN_PATH = ${OPENSSL_DIR}/apps
370else
371 OPENSSL_BIN_PATH = ${OPENSSL_DIR}/bin
372endif
373
Madhukar Pappireddyfddfb3b2020-08-12 13:18:19 -0500374# Build option to use the SP804 timer instead of the generic one
375USE_SP804_TIMER := 0
Manish V Badarkhe5357f832021-03-16 10:01:27 +0000376
377# Build option to define number of firmware banks, used in firmware update
378# metadata structure.
379NR_OF_FW_BANKS := 2
380
381# Build option to define number of images in firmware bank, used in firmware
382# update metadata structure.
383NR_OF_IMAGES_IN_FW_BANK := 1
Manish V Badarkhe396b3392021-06-25 23:28:59 +0100384
385# Disable Firmware update support by default
386PSA_FWU_SUPPORT := 0
Manish V Badarkhe813524e2021-07-02 09:10:56 +0100387
Sughosh Ganu11d05a72024-02-01 12:51:20 +0530388# Enable image description in FWU metadata by default when PSA_FWU_SUPPORT
389# is enabled.
390ifeq ($(PSA_FWU_SUPPORT),1)
391PSA_FWU_METADATA_FW_STORE_DESC := 1
392else
393PSA_FWU_METADATA_FW_STORE_DESC := 0
394endif
395
Manish V Badarkhe00e28872022-03-02 12:06:35 +0000396# Dynamic Root of Trust for Measurement support
397DRTM_SUPPORT := 0
Okash Khawaja04c73032022-11-04 12:38:01 +0000398
399# Check platform if cache management operations should be performed.
400# Disabled by default.
401CONDITIONAL_CMO := 0
Raghu Krishnamurthy890b5082023-02-25 13:26:10 -0800402
403# By default, disable SPMD Logical partitions
404ENABLE_SPMD_LP := 0
Manish V Badarkhe5782b892023-09-06 09:08:28 +0100405
406# By default, disable PSA crypto (use MbedTLS legacy crypto API).
407PSA_CRYPTO := 0
Sandrine Bailleux85bebe12023-10-11 08:38:00 +0200408
409# getc() support from the console(s).
410# Disabled by default because it constitutes an attack vector into TF-A. It
411# should only be enabled if there is a use case for it.
412ENABLE_CONSOLE_GETC := 0
Arvind Ram Prakash183329a2023-08-15 16:28:06 -0500413
414# Build option to disable EL2 when it is not used.
415# Most platforms switch from EL3 to NS-EL2 and hence the unused NS-EL2
416# functions must be enabled by platforms if they require it.
417# Disabled by default.
418INIT_UNUSED_NS_EL2 := 0
Arvind Ram Prakash9acff282023-10-06 14:35:21 -0500419
420# Disable including MPAM EL2 registers in context by default since currently
421# it's only enabled for NS world
422CTX_INCLUDE_MPAM_REGS := 0
Juan Pablo Condebfef8b92023-11-08 16:14:28 -0600423
424# Enable context memory usage reporting during BL31 setup.
425PLATFORM_REPORT_CTX_MEM_USE := 0
Yann Gautierae770fe2024-01-16 19:39:31 +0100426
427# Enable early console
428EARLY_CONSOLE := 0
Arvind Ram Prakashf99a69c2023-12-21 00:25:52 -0600429
430# Allow platforms to save/restore DSU PMU registers over a power cycle.
431# Disabled by default and must be enabled by individual platforms.
432PRESERVE_DSU_PMU_REGS := 0
Raghu Krishnamurthy6a88ec82024-06-03 19:02:29 -0700433
434# Enable RMMD to forward attestation requests from RMM to EL3.
435RMMD_ENABLE_EL3_TOKEN_SIGN := 0
Sona Mathew2132c702025-03-14 01:27:11 -0500436
437# Enable RMMD to program and manage IDE Keys at the PCIe Root Port(RP).
438# This flag is temporary and it is expected once the interface is
439# finalized, this flag will be removed.
440RMMD_ENABLE_IDE_KEY_PROG := 0
Manish V Badarkhecf48f492025-04-15 20:16:32 +0100441
442# Live firmware activation support
443LFA_SUPPORT := 0
Arvind Ram Prakashd52ff2b2025-05-07 10:01:57 -0500444
445# Enable support for arm DSU driver.
446USE_DSU_DRIVER := 0