Skip to content

Commit c449684

Browse files
MarkusLassilaMaureenHelm
authored andcommitted
soc: nordic: Fix APPROTECT with TF-M
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]>
1 parent fbd651e commit c449684

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

soc/nordic/Kconfig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ config NFCT_PINS_AS_GPIOS
9898
choice NRF_APPROTECT_HANDLING
9999
bool "APPROTECT handling"
100100
depends on SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET || \
101-
(SOC_NRF5340_CPUAPP && !TRUSTED_EXECUTION_NONSECURE) || \
102-
SOC_SERIES_NRF91X
101+
SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X
103102
default NRF_APPROTECT_USE_UICR
104103
help
105104
Specifies how the SystemInit() function should handle the APPROTECT
@@ -131,7 +130,7 @@ endchoice
131130

132131
choice NRF_SECURE_APPROTECT_HANDLING
133132
bool "Secure APPROTECT handling"
134-
depends on (SOC_NRF5340_CPUAPP && !TRUSTED_EXECUTION_NONSECURE)
133+
depends on SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X
135134
default NRF_SECURE_APPROTECT_USE_UICR
136135
help
137136
Specifies how the SystemInit() function should handle the secure

0 commit comments

Comments
 (0)