arm-trusted-firmware/plat/arm/board
Ben Horgan 2e361319ac fix(tc): enable certificate on the last secure partition
Distros (e.g. Buildroot and Android) can have different secure partition
layout.

This commit iterates the DPE metadata table and finds index (i) for the
first entry of the secure partition, connecting with the defined secure
partition number NUM_SP, so the last secure partition index is:

   i + NUM_SP - 1

Instead of setting the certificate in hard code, dynamically enables the
certificate for the last secure partition base on calculated index.

Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Change-Id: Idd11b4f463bf5ccc8d82cd06bd21deeebbda67d9
2025-01-28 14:08: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(neoverse-rd): initialize timer before use in smmuv3_poll 2024-12-23 13:06:26 +05:30
tc fix(tc): enable certificate on the last secure partition 2025-01-28 14:08:18 +00:00