Searched refs:flash_option_bytes_bank1 (Results 1 – 3 of 3) sorted by relevance
135 static FLASH_OBProgramInitTypeDef flash_option_bytes_bank1 = {0}; in TFM_LL_SECU_CheckStaticProtections() local156 flash_option_bytes_bank1.WRPArea = OB_WRPAREA_BANK1_AREAA; in TFM_LL_SECU_CheckStaticProtections()157 flash_option_bytes_bank1.WMSecConfig = OB_WMSEC_AREA1; in TFM_LL_SECU_CheckStaticProtections()158 flash_option_bytes_bank1.BootAddrConfig = OB_BOOTADDR_SEC0; in TFM_LL_SECU_CheckStaticProtections()159 HAL_FLASHEx_OBGetConfig(&flash_option_bytes_bank1); in TFM_LL_SECU_CheckStaticProtections()168 flash_option_bytes_bank1.OptionType = 0; in TFM_LL_SECU_CheckStaticProtections()171 flash_option_bytes_bank1.WRPArea = 0; in TFM_LL_SECU_CheckStaticProtections()175 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTR_TZEN) != FLASH_OPTR_TZEN) in TFM_LL_SECU_CheckStaticProtections()182 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTR_DBANK) != FLASH_OPTR_DBANK) in TFM_LL_SECU_CheckStaticProtections()189 if (flash_option_bytes_bank1.BootAddr != SBSFU_BOOT_VTOR_ADDR) in TFM_LL_SECU_CheckStaticProtections()[all …]
581 static FLASH_OBProgramInitTypeDef flash_option_bytes_bank1 = {0}; in LL_SECU_CheckStaticProtections() local602 flash_option_bytes_bank1.WRPArea = OB_WRPAREA_BANK1_AREAA; in LL_SECU_CheckStaticProtections()603 flash_option_bytes_bank1.WMSecConfig = OB_WMSEC_AREA1; in LL_SECU_CheckStaticProtections()604 flash_option_bytes_bank1.BootAddrConfig = OB_BOOTADDR_SEC0; in LL_SECU_CheckStaticProtections()605 HAL_FLASHEx_OBGetConfig(&flash_option_bytes_bank1); in LL_SECU_CheckStaticProtections()614 flash_option_bytes_bank1.OptionType = 0; in LL_SECU_CheckStaticProtections()617 flash_option_bytes_bank1.WRPArea = 0; in LL_SECU_CheckStaticProtections()621 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTR_TZEN) != FLASH_OPTR_TZEN) in LL_SECU_CheckStaticProtections()628 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTR_DUALBANK) != FLASH_OPTR_DUALBANK) in LL_SECU_CheckStaticProtections()635 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTR_SWAP_BANK) != 0) in LL_SECU_CheckStaticProtections()[all …]
693 static FLASH_OBProgramInitTypeDef flash_option_bytes_bank1 = {0}; in LL_SECU_CheckStaticProtections() local704 flash_option_bytes_bank1.Banks = FLASH_BANK_1; in LL_SECU_CheckStaticProtections()705 flash_option_bytes_bank1.BootConfig = OB_BOOT_SEC; in LL_SECU_CheckStaticProtections()706 HAL_FLASHEx_OBGetConfig(&flash_option_bytes_bank1); in LL_SECU_CheckStaticProtections()714 flash_option_bytes_bank1.OptionType = 0; in LL_SECU_CheckStaticProtections()719 if ((flash_option_bytes_bank1.USERConfig2 & FLASH_OPTSR2_TZEN) != OB_TZEN_ENABLE) in LL_SECU_CheckStaticProtections()727 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTSR_SWAP_BANK) != 0) in LL_SECU_CheckStaticProtections()735 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTSR_BOOT_UBE) != OB_UBE_ST_IROT) in LL_SECU_CheckStaticProtections()737 if ((flash_option_bytes_bank1.USERConfig & FLASH_OPTSR_BOOT_UBE) != OB_UBE_OEM_IROT) in LL_SECU_CheckStaticProtections()746 if (flash_option_bytes_bank1.BootAddr != BL2_BOOT_VTOR_ADDR) in LL_SECU_CheckStaticProtections()[all …]