sp_min: Avoid platform security reconfiguration

In the case of Juno AArch32, platform security configuration
gets done from both BL2 and SP_MIN(BL32) components when
JUNO_AARCH32_EL3_RUNTIME and RESET_TO_SP_MIN build options
are set.
Fix is provided to avoid Platform security configuration from
SP_MIN when it is already done in BL2.

Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: I702e91dacb4cdd2d10e339ddeaea91289bef3229
This commit is contained in:
Manish V Badarkhe 2020-08-27 13:16:21 +01:00
parent 50eee85e04
commit ae0e09bb21
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ void sp_min_platform_setup(void)
* Do initial security configuration to allow DRAM/device access
* (if earlier BL has not already done so).
*/
#if RESET_TO_SP_MIN
#if RESET_TO_SP_MIN && !JUNO_AARCH32_EL3_RUNTIME
plat_arm_security_setup();
#if defined(PLAT_ARM_MEM_PROT_ADDR)