Commit 15405fcc authored by Madhukar Pappireddy's avatar Madhukar Pappireddy Committed by TrustedFirmware Code Review
Browse files

Merge "fix(plat/st): apply security at the end of BL2" into integration

parents bd4b4b03 99080bd1
...@@ -153,8 +153,6 @@ void bl2_platform_setup(void) ...@@ -153,8 +153,6 @@ void bl2_platform_setup(void)
#ifdef AARCH32_SP_OPTEE #ifdef AARCH32_SP_OPTEE
INFO("BL2 runs OP-TEE setup\n"); INFO("BL2 runs OP-TEE setup\n");
/* Initialize tzc400 after DDR initialization */
stm32mp1_security_setup();
#else #else
INFO("BL2 runs SP_MIN setup\n"); INFO("BL2 runs SP_MIN setup\n");
#endif #endif
...@@ -384,4 +382,9 @@ int bl2_plat_handle_post_image_load(unsigned int image_id) ...@@ -384,4 +382,9 @@ int bl2_plat_handle_post_image_load(unsigned int image_id)
return err; return err;
} }
void bl2_el3_plat_prepare_exit(void)
{
stm32mp1_security_setup();
}
#endif #endif
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