Skip to content

Commit

Permalink
[nrf fromtree] soc: nordic: Fix APPROTECT with TF-M
Browse files Browse the repository at this point in the history
Allow CONFIG_NRF_APPROTECT_LOCK and
CONFIG_NRF_SECURE_APPROTECT_LOCK with TF-M with all the SOC's
that support TF-M.

Signed-off-by: Markus Lassila <[email protected]>
(cherry picked from commit c449684)
  • Loading branch information
MarkusLassila authored and rlubos committed Aug 9, 2024
1 parent 5aef526 commit 9e30235
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions soc/nordic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ config NFCT_PINS_AS_GPIOS
choice NRF_APPROTECT_HANDLING
bool "APPROTECT handling"
depends on SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET || \
(SOC_NRF5340_CPUAPP && !TRUSTED_EXECUTION_NONSECURE) || \
SOC_SERIES_NRF91X
SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X
default NRF_APPROTECT_USE_UICR
help
Specifies how the SystemInit() function should handle the APPROTECT
Expand Down Expand Up @@ -131,7 +130,7 @@ endchoice

choice NRF_SECURE_APPROTECT_HANDLING
bool "Secure APPROTECT handling"
depends on (SOC_NRF5340_CPUAPP && !TRUSTED_EXECUTION_NONSECURE)
depends on SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X
default NRF_SECURE_APPROTECT_USE_UICR
help
Specifies how the SystemInit() function should handle the secure
Expand Down

0 comments on commit 9e30235

Please sign in to comment.