arm-trusted-firmware/plat/arm/board
Leo Yan 26a520b2be fix(tc): fix compilation error
When the SPD_spmd configuration is disabled, the compiler complaints:

plat/arm/board/tc/tc_bl2_dpe.c:234:22: error: unused variable 'array_size' [-Werror=unused-variable]
  234 |         const size_t array_size = ARRAY_SIZE(tc_dpe_metadata);
      |                      ^~~~~~~~~~
plat/arm/board/tc/tc_bl2_dpe.c:233:16: error: unused variable 'i' [-Werror=unused-variable]
  233 |         size_t i;
      |                ^
cc1: all warnings being treated as errors

Move variable declarations into the code chunk protected by the SPD_spmd
configuration.

Change-Id: I1a3889938e2d4ec5efec516e9ef54034f9d711b2
Signed-off-by: Leo Yan <leo.yan@arm.com>
2025-01-29 09:49:18 +00:00
..
a5ds build: remove Windows compatibility layer 2025-01-14 16:21:51 +00:00
arm_fpga perf(build): be clever about uppercasing 2024-11-08 12:27:46 +00:00
automotive_rd/platform/rd1ae feat(rd1ae): add support for OP-TEE SPMC 2024-11-14 13:56:39 +00:00
common refactor(arm): rename ARM_ROTPK_HEADER_LEN 2024-12-30 12:32:34 +01:00
corstone700 build(bl32): added check for AARCH32_SP 2023-08-24 14:22:34 -05:00
corstone1000 fix(corstone-1000): fix Makefile error reporting 2024-08-27 10:39:41 +01:00
fvp Merge "chore(fvp): use correct dts for dynamiq cores" into integration 2025-01-20 19:31:31 +01:00
fvp_r fix(arm): add extra hash config to validate ROTPK 2024-09-09 11:22:28 +01:00
fvp_ve feat(fvp): add flash areas for secure partition 2024-07-29 09:55:43 +01:00
juno refactor(arm): rename ARM_ROTPK_HEADER_LEN 2024-12-30 12:32:34 +01:00
morello build: remove MAKE_BUILD_STRINGS function 2024-04-29 12:47:01 +00:00
n1sdp refactor(arm): remove unused SP_MIN UART macros 2024-04-02 13:36:31 +01:00
neoverse_rd fix(rdv3): fix comment for DRAM1 carveout size 2025-01-28 13:56:33 +00:00
tc fix(tc): fix compilation error 2025-01-29 09:49:18 +00:00