Searched hist:"2 e361319ac1907009b42da657f7c55a50a9ccca0" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/arm/board/tc/ |
| H A D | tc_bl2_dpe.c | 2e361319ac1907009b42da657f7c55a50a9ccca0 Tue Oct 29 17:59:59 UTC 2024 Ben Horgan <ben.horgan@arm.com> 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
|