Searched refs:flash_option_bytes_bank2 (Results 1 – 3 of 3) sorted by relevance
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32l5xx/bl2/ |
| D | tfm_low_level_security.c | 136 static FLASH_OBProgramInitTypeDef flash_option_bytes_bank2 = {0}; in TFM_LL_SECU_CheckStaticProtections() local 162 flash_option_bytes_bank2.WRPArea = OB_WRPAREA_BANK2_AREAA; in TFM_LL_SECU_CheckStaticProtections() 163 flash_option_bytes_bank2.WMSecConfig = OB_WMSEC_AREA2; in TFM_LL_SECU_CheckStaticProtections() 164 HAL_FLASHEx_OBGetConfig(&flash_option_bytes_bank2); in TFM_LL_SECU_CheckStaticProtections() 169 flash_option_bytes_bank2.OptionType = 0; in TFM_LL_SECU_CheckStaticProtections() 170 flash_option_bytes_bank2.WRPArea = 0; in TFM_LL_SECU_CheckStaticProtections() 237 if ((start != flash_option_bytes_bank2.WMSecStartPage) in TFM_LL_SECU_CheckStaticProtections() 238 || (end != flash_option_bytes_bank2.WMSecEndPage)) in TFM_LL_SECU_CheckStaticProtections() 240 …G_INF("BANK 2 secure flash [%d, %d] : OB [%d, %d]", start, end, flash_option_bytes_bank2.WMSecStar… in TFM_LL_SECU_CheckStaticProtections() 241 flash_option_bytes_bank2.WMSecEndPage); in TFM_LL_SECU_CheckStaticProtections() [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32u5xx/bl2/ |
| D | low_level_security.c | 582 static FLASH_OBProgramInitTypeDef flash_option_bytes_bank2 = {0}; in LL_SECU_CheckStaticProtections() local 608 flash_option_bytes_bank2.WRPArea = OB_WRPAREA_BANK2_AREAA; in LL_SECU_CheckStaticProtections() 609 flash_option_bytes_bank2.WMSecConfig = OB_WMSEC_AREA2; in LL_SECU_CheckStaticProtections() 610 HAL_FLASHEx_OBGetConfig(&flash_option_bytes_bank2); in LL_SECU_CheckStaticProtections() 615 flash_option_bytes_bank2.OptionType = 0; in LL_SECU_CheckStaticProtections() 616 flash_option_bytes_bank2.WRPArea = 0; in LL_SECU_CheckStaticProtections() 689 if ((start != flash_option_bytes_bank2.WMSecStartPage) in LL_SECU_CheckStaticProtections() 690 || (end != flash_option_bytes_bank2.WMSecEndPage)) in LL_SECU_CheckStaticProtections() 692 …BOOT_LOG_INF("BANK 2 secure flash [%d, %d] : OB [%d, %d]", start, end, flash_option_bytes_bank2.WM… in LL_SECU_CheckStaticProtections() 693 flash_option_bytes_bank2.WMSecEndPage); in LL_SECU_CheckStaticProtections() [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/stm/common/stm32h5xx/bl2/ |
| D | low_level_security.c | 694 static FLASH_OBProgramInitTypeDef flash_option_bytes_bank2 = {0}; in LL_SECU_CheckStaticProtections() local 709 flash_option_bytes_bank2.Banks = FLASH_BANK_2; in LL_SECU_CheckStaticProtections() 710 HAL_FLASHEx_OBGetConfig(&flash_option_bytes_bank2); in LL_SECU_CheckStaticProtections() 715 flash_option_bytes_bank2.OptionType = 0; in LL_SECU_CheckStaticProtections() 783 if ((start != flash_option_bytes_bank2.WMSecStartSector) in LL_SECU_CheckStaticProtections() 784 || (end != flash_option_bytes_bank2.WMSecEndSector)) in LL_SECU_CheckStaticProtections() 786 …ecure flash [%d, %d] : OB [%d, %d]", (int)start, (int)end, (int)flash_option_bytes_bank2.WMSecStar… in LL_SECU_CheckStaticProtections() 787 flash_option_bytes_bank2.WMSecEndSector); in LL_SECU_CheckStaticProtections() 793 flash_option_bytes_bank2.WMSecStartSector = start; in LL_SECU_CheckStaticProtections() 794 flash_option_bytes_bank2.WMSecEndSector = end; in LL_SECU_CheckStaticProtections() [all …]
|