Commit ae0e09bb authored by Manish V Badarkhe's avatar Manish V Badarkhe
Browse files

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: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: I702e91dacb4cdd2d10e339ddeaea91289bef3229
parent 50eee85e
...@@ -186,7 +186,7 @@ void sp_min_platform_setup(void) ...@@ -186,7 +186,7 @@ void sp_min_platform_setup(void)
* Do initial security configuration to allow DRAM/device access * Do initial security configuration to allow DRAM/device access
* (if earlier BL has not already done so). * (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(); plat_arm_security_setup();
#if defined(PLAT_ARM_MEM_PROT_ADDR) #if defined(PLAT_ARM_MEM_PROT_ADDR)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment