Home
last modified time | relevance | path

Searched refs:WRPArea (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_flash_ex.c118 static void FLASH_OB_WRPConfig(uint32_t WRPArea, uint32_t WRPStartOffset, uint32_t WRPEndOffset…
126 static void FLASH_OB_GetWRP(uint32_t WRPArea, uint32_t * WRPStartOffset, uint32_t * WRPEndOffse…
327 FLASH_OB_WRPConfig(pOBInit->WRPArea, pOBInit->WRPStartOffset, pOBInit->WRPEndOffset); in HAL_FLASHEx_OBProgram()
394 if((pOBInit->WRPArea == OB_WRPAREA_BANK1_AREAA) || (pOBInit->WRPArea == OB_WRPAREA_BANK1_AREAB) || in HAL_FLASHEx_OBGetConfig()
395 (pOBInit->WRPArea == OB_WRPAREA_BANK2_AREAA) || (pOBInit->WRPArea == OB_WRPAREA_BANK2_AREAB)) in HAL_FLASHEx_OBGetConfig()
399 FLASH_OB_GetWRP(pOBInit->WRPArea, &(pOBInit->WRPStartOffset), &(pOBInit->WRPEndOffset)); in HAL_FLASHEx_OBGetConfig()
872 static void FLASH_OB_WRPConfig(uint32_t WRPArea, uint32_t WRPStartOffset, uint32_t WRPEndOffset) in FLASH_OB_WRPConfig() argument
875 assert_param(IS_OB_WRPAREA(WRPArea)); in FLASH_OB_WRPConfig()
880 if(WRPArea == OB_WRPAREA_BANK1_AREAA) in FLASH_OB_WRPConfig()
885 else if(WRPArea == OB_WRPAREA_BANK1_AREAB) in FLASH_OB_WRPConfig()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_flash_ex.c126 static void FLASH_OB_WRPConfig(uint32_t WRPArea, uint32_t WRPStartOffset, uint32_t WRP…
136 static void FLASH_OB_GetWRP(uint32_t WRPArea, uint32_t *WRPStartOffset, uint32_t *WRPE…
341 …FLASH_OB_WRPConfig(pOBInit->WRPArea, pOBInit->WRPStartOffset, pOBInit->WRPEndOffset, pOBInit->WRPL… in HAL_FLASHEx_OBProgram()
416 …if ((pOBInit->WRPArea == OB_WRPAREA_BANK1_AREAA) || (pOBInit->WRPArea == OB_WRPAREA_BANK1_AREAB) || in HAL_FLASHEx_OBGetConfig()
417 (pOBInit->WRPArea == OB_WRPAREA_BANK2_AREAA) || (pOBInit->WRPArea == OB_WRPAREA_BANK2_AREAB)) in HAL_FLASHEx_OBGetConfig()
421 …FLASH_OB_GetWRP(pOBInit->WRPArea, &(pOBInit->WRPStartOffset), &(pOBInit->WRPEndOffset), &(pOBInit-… in HAL_FLASHEx_OBGetConfig()
977 static void FLASH_OB_WRPConfig(uint32_t WRPArea, uint32_t WRPStartOffset, uint32_t WRPEndOffset, in FLASH_OB_WRPConfig() argument
981 assert_param(IS_OB_WRPAREA(WRPArea)); in FLASH_OB_WRPConfig()
987 if (WRPArea == OB_WRPAREA_BANK1_AREAA) in FLASH_OB_WRPConfig()
993 else if (WRPArea == OB_WRPAREA_BANK1_AREAB) in FLASH_OB_WRPConfig()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/bl2/
Dtfm_low_level_security.c156 flash_option_bytes_bank1.WRPArea = OB_WRPAREA_BANK1_AREAA; in TFM_LL_SECU_CheckStaticProtections()
162 flash_option_bytes_bank2.WRPArea = OB_WRPAREA_BANK2_AREAA; in TFM_LL_SECU_CheckStaticProtections()
170 flash_option_bytes_bank2.WRPArea = 0; in TFM_LL_SECU_CheckStaticProtections()
171 flash_option_bytes_bank1.WRPArea = 0; in TFM_LL_SECU_CheckStaticProtections()
289 flash_option_bytes_bank1.WRPArea |= OB_WRPAREA_BANK1_AREAA; in TFM_LL_SECU_CheckStaticProtections()
363 if ((flash_option_bytes_bank2.WRPArea) != 0) in TFM_LL_SECU_CheckStaticProtections()
368 if ((flash_option_bytes_bank1.WRPArea & ~OB_WRPAREA_BANK1_AREAA) != 0) in TFM_LL_SECU_CheckStaticProtections()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/bl2/
Dlow_level_security.c602 flash_option_bytes_bank1.WRPArea = OB_WRPAREA_BANK1_AREAA; in LL_SECU_CheckStaticProtections()
608 flash_option_bytes_bank2.WRPArea = OB_WRPAREA_BANK2_AREAA; in LL_SECU_CheckStaticProtections()
616 flash_option_bytes_bank2.WRPArea = 0; in LL_SECU_CheckStaticProtections()
617 flash_option_bytes_bank1.WRPArea = 0; in LL_SECU_CheckStaticProtections()
741 flash_option_bytes_bank1.WRPArea |= OB_WRPAREA_BANK1_AREAA; in LL_SECU_CheckStaticProtections()
774 flash_option_bytes_bank2.WRPArea |= OB_WRPAREA_BANK2_AREAA; in LL_SECU_CheckStaticProtections()
859 if ((flash_option_bytes_bank2.WRPArea & ~OB_WRPAREA_BANK2_AREAA) != 0) in LL_SECU_CheckStaticProtections()
861 if ((flash_option_bytes_bank2.WRPArea & ~OB_WRPAREA_BANK2_AREAA) != 0) in LL_SECU_CheckStaticProtections()
867 if ((flash_option_bytes_bank1.WRPArea & ~OB_WRPAREA_BANK1_AREAA) != 0) in LL_SECU_CheckStaticProtections()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Inc/
Dstm32l5xx_hal_flash.h68 uint32_t WRPArea; /*!< Write protection area to be programmed (used for OPTIONBYTE_WRP). member
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/
Dstm32u5xx_hal_flash.h68 uint32_t WRPArea; /*!< Write protection area to be programmed (used for OPTIONBYTE_WRP). member