Davidson K | fc42f84 | 2023-07-03 11:54:45 +0530 | [diff] [blame] | 1 | # Copyright (c) 2021-2024, Arm Limited. All rights reserved. |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 2 | # |
| 3 | # SPDX-License-Identifier: BSD-3-Clause |
| 4 | # |
| 5 | |
Chris Kay | 1fa05da | 2021-09-28 15:52:14 +0100 | [diff] [blame] | 6 | include common/fdt_wrappers.mk |
| 7 | |
Boyan Karatotev | a02bb36 | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 8 | TARGET_FLAVOUR := fvp |
Boyan Karatotev | 1b8ed09 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 9 | # DPU with SCMI may not necessarily work, so allow its independence |
| 10 | TC_DPU_USE_SCMI_CLK := 1 |
Kshitij Sisodia | a658b46 | 2023-11-22 17:03:45 +0000 | [diff] [blame] | 11 | # SCMI power domain control enable |
| 12 | TC_SCMI_PD_CTRL_EN := 1 |
Boyan Karatotev | a02bb36 | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 13 | |
Boyan Karatotev | 96a5f87 | 2023-12-27 15:49:18 +0000 | [diff] [blame] | 14 | # System setup |
| 15 | CSS_USE_SCMI_SDS_DRIVER := 1 |
| 16 | HW_ASSISTED_COHERENCY := 1 |
| 17 | USE_COHERENT_MEM := 0 |
| 18 | GIC_ENABLE_V4_EXTN := 1 |
| 19 | GICV3_SUPPORT_GIC600 := 1 |
| 20 | override NEED_BL2U := no |
| 21 | override ARM_PLAT_MT := 1 |
| 22 | |
| 23 | # CPU setup |
| 24 | ARM_ARCH_MINOR := 7 |
| 25 | BRANCH_PROTECTION := 1 |
| 26 | ENABLE_FEAT_MPAM := 1 # default is 2, optimise |
| 27 | ENABLE_SVE_FOR_NS := 2 # to show we use it |
| 28 | ENABLE_SVE_FOR_SWD := 1 |
| 29 | ENABLE_TRBE_FOR_NS := 1 |
| 30 | ENABLE_SYS_REG_TRACE_FOR_NS := 1 |
| 31 | ENABLE_FEAT_AMU := 1 |
| 32 | ENABLE_AMU_FCONF := 1 |
| 33 | ENABLE_AMU_AUXILIARY_COUNTERS := 1 |
| 34 | ENABLE_MPMM := 1 |
| 35 | ENABLE_MPMM_FCONF := 1 |
| 36 | |
| 37 | CTX_INCLUDE_AARCH32_REGS := 0 |
| 38 | |
| 39 | ifeq (${SPD},spmd) |
| 40 | SPMD_SPM_AT_SEL2 := 1 |
Leo Yan | 154eb0a | 2024-04-29 14:20:35 +0100 | [diff] [blame] | 41 | ENABLE_FEAT_MTE2 := 1 |
Boyan Karatotev | 96a5f87 | 2023-12-27 15:49:18 +0000 | [diff] [blame] | 42 | CTX_INCLUDE_PAUTH_REGS := 1 |
| 43 | endif |
| 44 | |
Sergio Alves | dd5bf9c | 2023-12-06 15:24:44 +0000 | [diff] [blame] | 45 | # TC RESOLUTION - LIST OF VALID OPTIONS (this impacts only FVP) |
| 46 | TC_RESOLUTION_OPTIONS := 640x480p60 \ |
| 47 | 1920x1080p60 |
| 48 | # Set default to the 640x480p60 resolution mode |
| 49 | TC_RESOLUTION ?= $(firstword $(TC_RESOLUTION_OPTIONS)) |
| 50 | |
| 51 | # Check resolution option for FVP |
| 52 | ifneq ($(filter ${TARGET_FLAVOUR}, fvp),) |
| 53 | ifeq ($(filter ${TC_RESOLUTION}, ${TC_RESOLUTION_OPTIONS}),) |
| 54 | $(error TC_RESOLUTION is ${TC_RESOLUTION}, it must be: ${TC_RESOLUTION_OPTIONS}) |
| 55 | endif |
| 56 | endif |
Boyan Karatotev | 96a5f87 | 2023-12-27 15:49:18 +0000 | [diff] [blame] | 57 | |
Boyan Karatotev | 62320dc | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 58 | ifneq ($(shell expr $(TARGET_PLATFORM) \<= 1), 0) |
Manish V Badarkhe | 6a2b11c | 2023-11-20 18:25:49 +0000 | [diff] [blame] | 59 | $(warning Platform ${PLAT}$(TARGET_PLATFORM) is deprecated. \ |
| 60 | Some of the features might not work as expected) |
| 61 | endif |
| 62 | |
Boyan Karatotev | 62320dc | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 63 | ifeq ($(shell expr $(TARGET_PLATFORM) \<= 3), 0) |
| 64 | $(error TARGET_PLATFORM must be less than or equal to 3) |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 65 | endif |
| 66 | |
Boyan Karatotev | a02bb36 | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 67 | ifeq ($(filter ${TARGET_FLAVOUR}, fvp fpga),) |
| 68 | $(error TARGET_FLAVOUR must be fvp or fpga) |
| 69 | endif |
| 70 | |
| 71 | $(eval $(call add_defines, \ |
| 72 | TARGET_PLATFORM \ |
| 73 | TARGET_FLAVOUR_$(call uppercase,${TARGET_FLAVOUR}) \ |
Sergio Alves | dd5bf9c | 2023-12-06 15:24:44 +0000 | [diff] [blame] | 74 | TC_RESOLUTION_$(call uppercase,${TC_RESOLUTION}) \ |
Boyan Karatotev | 1b8ed09 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 75 | TC_DPU_USE_SCMI_CLK \ |
Kshitij Sisodia | a658b46 | 2023-11-22 17:03:45 +0000 | [diff] [blame] | 76 | TC_SCMI_PD_CTRL_EN \ |
Boyan Karatotev | a02bb36 | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 77 | )) |
Olivier Deprez | 8597a8c | 2022-07-20 17:37:23 +0200 | [diff] [blame] | 78 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 79 | CSS_LOAD_SCP_IMAGES := 1 |
| 80 | |
Arvind Ram Prakash | b87d7ab | 2024-05-07 10:33:46 -0500 | [diff] [blame] | 81 | # Save DSU PMU registers on cluster off and restore them on cluster on |
| 82 | PRESERVE_DSU_PMU_REGS := 1 |
| 83 | |
Jackson Cooper-Driver | 04085d6 | 2024-03-11 09:23:17 +0000 | [diff] [blame] | 84 | # Specify MHU type based on platform |
| 85 | ifneq ($(filter ${TARGET_PLATFORM}, 2),) |
| 86 | PLAT_MHU_VERSION := 2 |
| 87 | else |
| 88 | PLAT_MHU_VERSION := 3 |
| 89 | endif |
| 90 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 91 | # Include GICv3 driver files |
| 92 | include drivers/arm/gic/v3/gicv3.mk |
| 93 | |
| 94 | ENT_GIC_SOURCES := ${GICV3_SOURCES} \ |
| 95 | plat/common/plat_gicv3.c \ |
| 96 | plat/arm/common/arm_gicv3.c |
| 97 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 98 | TC_BASE = plat/arm/board/tc |
| 99 | |
Boyan Karatotev | 3ac3b6b | 2023-12-20 16:28:23 +0000 | [diff] [blame] | 100 | PLAT_INCLUDES += -I${TC_BASE}/include/ \ |
| 101 | -I${TC_BASE}/fdts/ |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 102 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 103 | # CPU libraries for TARGET_PLATFORM=1 |
| 104 | ifeq (${TARGET_PLATFORM}, 1) |
Rupinderjit Singh | eebd2c3 | 2022-04-04 17:28:41 +0100 | [diff] [blame] | 105 | TC_CPU_SOURCES += lib/cpus/aarch64/cortex_a510.S \ |
Rupinderjit Singh | c58b9a8 | 2022-08-23 11:55:27 +0100 | [diff] [blame] | 106 | lib/cpus/aarch64/cortex_a715.S \ |
| 107 | lib/cpus/aarch64/cortex_x3.S |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 108 | endif |
| 109 | |
Rupinderjit Singh | eebd2c3 | 2022-04-04 17:28:41 +0100 | [diff] [blame] | 110 | # CPU libraries for TARGET_PLATFORM=2 |
| 111 | ifeq (${TARGET_PLATFORM}, 2) |
Govindraj Raja | dea3d71 | 2023-06-28 08:49:21 -0500 | [diff] [blame] | 112 | TC_CPU_SOURCES += lib/cpus/aarch64/cortex_a520.S \ |
Govindraj Raja | 31b3945 | 2023-06-23 11:28:05 -0500 | [diff] [blame] | 113 | lib/cpus/aarch64/cortex_a720.S \ |
Govindraj Raja | 870fcb9 | 2023-06-23 11:09:31 -0500 | [diff] [blame] | 114 | lib/cpus/aarch64/cortex_x4.S |
Rupinderjit Singh | eebd2c3 | 2022-04-04 17:28:41 +0100 | [diff] [blame] | 115 | endif |
| 116 | |
Boyan Karatotev | 62320dc | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 117 | # CPU libraries for TARGET_PLATFORM=3 |
| 118 | ifeq (${TARGET_PLATFORM}, 3) |
| 119 | TC_CPU_SOURCES += lib/cpus/aarch64/cortex_a520.S \ |
Govindraj Raja | 16aacab | 2024-05-17 13:35:19 -0500 | [diff] [blame] | 120 | lib/cpus/aarch64/cortex_a725.S \ |
Govindraj Raja | bbe94cd | 2024-05-17 13:39:07 -0500 | [diff] [blame] | 121 | lib/cpus/aarch64/cortex_x925.S |
Boyan Karatotev | 62320dc | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 122 | endif |
| 123 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 124 | INTERCONNECT_SOURCES := ${TC_BASE}/tc_interconnect.c |
| 125 | |
| 126 | PLAT_BL_COMMON_SOURCES += ${TC_BASE}/tc_plat.c \ |
| 127 | ${TC_BASE}/include/tc_helpers.S |
| 128 | |
| 129 | BL1_SOURCES += ${INTERCONNECT_SOURCES} \ |
| 130 | ${TC_CPU_SOURCES} \ |
| 131 | ${TC_BASE}/tc_trusted_boot.c \ |
| 132 | ${TC_BASE}/tc_err.c \ |
| 133 | drivers/arm/sbsa/sbsa.c |
| 134 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 135 | BL2_SOURCES += ${TC_BASE}/tc_security.c \ |
| 136 | ${TC_BASE}/tc_err.c \ |
| 137 | ${TC_BASE}/tc_trusted_boot.c \ |
Usama Arif | 34a87d7 | 2021-08-17 17:57:10 +0100 | [diff] [blame] | 138 | ${TC_BASE}/tc_bl2_setup.c \ |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 139 | lib/utils/mem_region.c \ |
| 140 | drivers/arm/tzc/tzc400.c \ |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 141 | plat/arm/common/arm_nor_psci_mem_protect.c |
| 142 | |
Tintu Thomas | 8ce29a7 | 2024-07-02 16:57:05 +0100 | [diff] [blame^] | 143 | ifeq ($(shell test $(TARGET_PLATFORM) -le 2; echo $$?),0) |
| 144 | BL2_SOURCES += plat/arm/common/arm_tzc400.c |
| 145 | endif |
| 146 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 147 | BL31_SOURCES += ${INTERCONNECT_SOURCES} \ |
| 148 | ${TC_CPU_SOURCES} \ |
| 149 | ${ENT_GIC_SOURCES} \ |
| 150 | ${TC_BASE}/tc_bl31_setup.c \ |
| 151 | ${TC_BASE}/tc_topology.c \ |
Usama Arif | 34a87d7 | 2021-08-17 17:57:10 +0100 | [diff] [blame] | 152 | lib/fconf/fconf.c \ |
| 153 | lib/fconf/fconf_dyn_cfg_getter.c \ |
Arvind Ram Prakash | b87d7ab | 2024-05-07 10:33:46 -0500 | [diff] [blame] | 154 | drivers/arm/css/dsu/dsu.c \ |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 155 | drivers/cfi/v2m/v2m_flash.c \ |
| 156 | lib/utils/mem_region.c \ |
Madhukar Pappireddy | 28b2d86 | 2023-03-22 15:40:40 -0500 | [diff] [blame] | 157 | plat/arm/common/arm_nor_psci_mem_protect.c \ |
| 158 | drivers/arm/sbsa/sbsa.c |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 159 | |
Chris Kay | 1fa05da | 2021-09-28 15:52:14 +0100 | [diff] [blame] | 160 | BL31_SOURCES += ${FDT_WRAPPERS_SOURCES} |
| 161 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 162 | # Add the FDT_SOURCES and options for Dynamic Config |
| 163 | FDT_SOURCES += ${TC_BASE}/fdts/${PLAT}_fw_config.dts \ |
Tamas Ban | 1f47a71 | 2023-06-12 11:26:28 +0200 | [diff] [blame] | 164 | ${TC_BASE}/fdts/${PLAT}_tb_fw_config.dts \ |
| 165 | ${TC_BASE}/fdts/${PLAT}_nt_fw_config.dts |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 166 | FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb |
| 167 | TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_tb_fw_config.dtb |
Tamas Ban | 1f47a71 | 2023-06-12 11:26:28 +0200 | [diff] [blame] | 168 | FVP_NT_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_nt_fw_config.dtb |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 169 | |
| 170 | # Add the FW_CONFIG to FIP and specify the same to certtool |
| 171 | $(eval $(call TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config,${FW_CONFIG})) |
| 172 | # Add the TB_FW_CONFIG to FIP and specify the same to certtool |
| 173 | $(eval $(call TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config,${TB_FW_CONFIG})) |
Tamas Ban | 1f47a71 | 2023-06-12 11:26:28 +0200 | [diff] [blame] | 174 | # Add the NT_FW_CONFIG to FIP and specify the same to certtool |
| 175 | $(eval $(call TOOL_ADD_PAYLOAD,${FVP_NT_FW_CONFIG},--nt-fw-config,${FVP_NT_FW_CONFIG})) |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 176 | |
| 177 | ifeq (${SPD},spmd) |
| 178 | ifeq ($(ARM_SPMC_MANIFEST_DTS),) |
Boyan Karatotev | 3ac3b6b | 2023-12-20 16:28:23 +0000 | [diff] [blame] | 179 | ARM_SPMC_MANIFEST_DTS := ${TC_BASE}/fdts/${PLAT}_spmc_test_manifest.dts |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 180 | endif |
| 181 | |
| 182 | FDT_SOURCES += ${ARM_SPMC_MANIFEST_DTS} |
| 183 | TC_TOS_FW_CONFIG := ${BUILD_PLAT}/fdts/$(notdir $(basename ${ARM_SPMC_MANIFEST_DTS})).dtb |
| 184 | |
| 185 | # Add the TOS_FW_CONFIG to FIP and specify the same to certtool |
| 186 | $(eval $(call TOOL_ADD_PAYLOAD,${TC_TOS_FW_CONFIG},--tos-fw-config,${TC_TOS_FW_CONFIG})) |
| 187 | endif |
| 188 | |
| 189 | #Device tree |
Leo Yan | b3a9737 | 2024-04-14 08:27:39 +0100 | [diff] [blame] | 190 | TC_HW_CONFIG_DTS := fdts/${PLAT}${TARGET_PLATFORM}.dts |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 191 | TC_HW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}.dtb |
| 192 | FDT_SOURCES += ${TC_HW_CONFIG_DTS} |
| 193 | $(eval TC_HW_CONFIG := ${BUILD_PLAT}/$(patsubst %.dts,%.dtb,$(TC_HW_CONFIG_DTS))) |
| 194 | |
| 195 | # Add the HW_CONFIG to FIP and specify the same to certtool |
| 196 | $(eval $(call TOOL_ADD_PAYLOAD,${TC_HW_CONFIG},--hw-config,${TC_HW_CONFIG})) |
| 197 | |
Tamas Ban | 6cb5d32 | 2022-09-16 16:26:15 +0200 | [diff] [blame] | 198 | # Include Measured Boot makefile before any Crypto library makefile. |
| 199 | # Crypto library makefile may need default definitions of Measured Boot build |
| 200 | # flags present in Measured Boot makefile. |
Tamas Ban | 7f8589c | 2024-02-22 11:35:28 +0100 | [diff] [blame] | 201 | $(info Including rse_comms.mk) |
Tamas Ban | 6cb5d32 | 2022-09-16 16:26:15 +0200 | [diff] [blame] | 202 | ifeq (${MEASURED_BOOT},1) |
Tamas Ban | 7f8589c | 2024-02-22 11:35:28 +0100 | [diff] [blame] | 203 | $(info Including rse_comms.mk) |
| 204 | include drivers/arm/rse/rse_comms.mk |
Tamas Ban | 6cb5d32 | 2022-09-16 16:26:15 +0200 | [diff] [blame] | 205 | |
Tamas Ban | 7f8589c | 2024-02-22 11:35:28 +0100 | [diff] [blame] | 206 | BL1_SOURCES += ${RSE_COMMS_SOURCES} |
| 207 | BL2_SOURCES += ${RSE_COMMS_SOURCES} |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 208 | PLAT_INCLUDES += -Iinclude/lib/psa |
| 209 | |
| 210 | ifeq (${DICE_PROTECTION_ENVIRONMENT},1) |
| 211 | $(info Including qcbor.mk) |
Tamas Ban | 7f8589c | 2024-02-22 11:35:28 +0100 | [diff] [blame] | 212 | include drivers/measured_boot/rse/qcbor.mk |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 213 | $(info Including dice_prot_env.mk) |
Tamas Ban | 7f8589c | 2024-02-22 11:35:28 +0100 | [diff] [blame] | 214 | include drivers/measured_boot/rse/dice_prot_env.mk |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 215 | |
| 216 | BL1_SOURCES += ${QCBOR_SOURCES} \ |
| 217 | ${DPE_SOURCES} \ |
| 218 | plat/arm/board/tc/tc_common_dpe.c \ |
| 219 | plat/arm/board/tc/tc_bl1_dpe.c \ |
Tamas Ban | 467bdf2 | 2023-06-07 14:18:46 +0200 | [diff] [blame] | 220 | lib/psa/dice_protection_environment.c \ |
| 221 | drivers/arm/css/sds/sds.c \ |
| 222 | drivers/delay_timer/delay_timer.c \ |
| 223 | drivers/delay_timer/generic_delay_timer.c |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 224 | |
| 225 | BL2_SOURCES += ${QCBOR_SOURCES} \ |
| 226 | ${DPE_SOURCES} \ |
| 227 | plat/arm/board/tc/tc_common_dpe.c \ |
| 228 | plat/arm/board/tc/tc_bl2_dpe.c \ |
| 229 | lib/psa/dice_protection_environment.c |
| 230 | |
| 231 | PLAT_INCLUDES += -I${QCBOR_INCLUDES} \ |
| 232 | -Iinclude/lib/dice |
| 233 | else |
Tamas Ban | 7f8589c | 2024-02-22 11:35:28 +0100 | [diff] [blame] | 234 | $(info Including rse_measured_boot.mk) |
| 235 | include drivers/measured_boot/rse/rse_measured_boot.mk |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 236 | |
| 237 | BL1_SOURCES += ${MEASURED_BOOT_SOURCES} \ |
Tamas Ban | 6cb5d32 | 2022-09-16 16:26:15 +0200 | [diff] [blame] | 238 | plat/arm/board/tc/tc_common_measured_boot.c \ |
| 239 | plat/arm/board/tc/tc_bl1_measured_boot.c \ |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 240 | lib/psa/measured_boot.c |
Tamas Ban | 6cb5d32 | 2022-09-16 16:26:15 +0200 | [diff] [blame] | 241 | |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 242 | BL2_SOURCES += ${MEASURED_BOOT_SOURCES} \ |
Tamas Ban | 6cb5d32 | 2022-09-16 16:26:15 +0200 | [diff] [blame] | 243 | plat/arm/board/tc/tc_common_measured_boot.c \ |
| 244 | plat/arm/board/tc/tc_bl2_measured_boot.c \ |
Tamas Ban | e7f1181 | 2023-06-07 13:35:04 +0200 | [diff] [blame] | 245 | lib/psa/measured_boot.c |
| 246 | endif |
Tamas Ban | 6cb5d32 | 2022-09-16 16:26:15 +0200 | [diff] [blame] | 247 | endif |
| 248 | |
David Vincze | 7be391d | 2024-01-04 18:37:12 +0100 | [diff] [blame] | 249 | ifeq (${TRNG_SUPPORT},1) |
| 250 | BL31_SOURCES += plat/arm/board/tc/tc_trng.c |
| 251 | endif |
| 252 | |
laurenw-arm | 6fbe11c | 2023-05-04 14:55:37 -0500 | [diff] [blame] | 253 | ifneq (${PLATFORM_TEST},) |
laurenw-arm | c5ce48f | 2023-07-17 12:32:46 -0500 | [diff] [blame] | 254 | # Add this include as first, before arm_common.mk. This is necessary |
| 255 | # because arm_common.mk builds Mbed TLS, and platform_test.mk can |
| 256 | # change the list of Mbed TLS files that are to be compiled |
| 257 | # (LIBMBEDTLS_SRCS). |
| 258 | include plat/arm/board/tc/platform_test.mk |
laurenw-arm | 1b07611 | 2023-02-07 13:40:05 -0600 | [diff] [blame] | 259 | endif |
| 260 | |
Mate Toth-Pal | 25dd217 | 2022-10-21 14:24:49 +0200 | [diff] [blame] | 261 | |
Usama Arif | 6ec0c65 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 262 | include plat/arm/common/arm_common.mk |
| 263 | include plat/arm/css/common/css_common.mk |
| 264 | include plat/arm/soc/common/soc_css.mk |
| 265 | include plat/arm/board/common/board_common.mk |