Skip to content

Commit 7fb282e

Browse files
Grolleau-BenjaminAnton-TF
authored andcommitted
platform: stm: bl2: log set_wmsec2 on bank 2 mismatch
The 'else if' branch handling the case where bank 2 must be fully non-secure was missing the BOOT_LOG_ERR("... : set wmsec2") message present in all other protection-mismatch branches of low_level_security.c. Align the log output with the rest of the function. No functional change. Change-Id: If645f440809a389e78825ac054405e636768394a Signed-off-by: Benjamin Grolleau <benjamin.grolleau@outlook.com>
1 parent ddc2535 commit 7fb282e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

platform/ext/target/stm/common/stm32u5xx/bl2/low_level_security.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ void LL_SECU_CheckStaticProtections(void)
712712
BOOT_LOG_ERR("Unexpected value for secure flash protection");
713713
Error_Handler();
714714
#else
715+
BOOT_LOG_ERR("Unexpected value for secure flash protection : set wmsec2");
715716
/* bank is not unsecured , modify option bytes */
716717
flash_option_bytes_bank2.WMSecStartPage = 127;
717718
flash_option_bytes_bank2.WMSecEndPage = 0;

0 commit comments

Comments
 (0)