Skip to content

Commit da76859

Browse files
nika-nordickartben
authored andcommitted
soc: nordic: nrf54l: fix APPROTECT handling
APPROTECT symbols were already aligned to nRF54L15, but did not take into account similar SoCs like nRF54L05 or L10. Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent 1e28ffa commit da76859

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

soc/nordic/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,17 @@ config NFCT_PINS_AS_GPIOS
9999

100100
choice NRF_APPROTECT_HANDLING
101101
bool "APPROTECT handling"
102-
depends on SOC_SERIES_NRF52X || SOC_SERIES_NRF53X || SOC_NRF54L15_CPUAPP || \
102+
depends on SOC_SERIES_NRF52X || SOC_SERIES_NRF53X || SOC_NRF54L_CPUAPP_COMMON || \
103103
SOC_SERIES_NRF91X
104-
default NRF_APPROTECT_DISABLE if SOC_NRF54L15_CPUAPP
104+
default NRF_APPROTECT_DISABLE if SOC_NRF54L_CPUAPP_COMMON
105105
default NRF_APPROTECT_USE_UICR
106106
help
107107
Specifies how the SystemInit() function should handle the APPROTECT
108108
mechanism.
109109

110110
config NRF_APPROTECT_DISABLE
111111
bool "Disable"
112-
depends on SOC_NRF54L15_CPUAPP
112+
depends on SOC_NRF54L_CPUAPP_COMMON
113113
help
114114
When this option is selected, the SystemInit() disables
115115
the APPROTECT mechanism.
@@ -141,16 +141,16 @@ endchoice
141141

142142
choice NRF_SECURE_APPROTECT_HANDLING
143143
bool "Secure APPROTECT handling"
144-
depends on SOC_NRF5340_CPUAPP || SOC_NRF54L15_CPUAPP || SOC_SERIES_NRF91X
145-
default NRF_SECURE_APPROTECT_DISABLE if SOC_NRF54L15_CPUAPP
144+
depends on SOC_NRF5340_CPUAPP || SOC_NRF54L_CPUAPP_COMMON || SOC_SERIES_NRF91X
145+
default NRF_SECURE_APPROTECT_DISABLE if SOC_NRF54L_CPUAPP_COMMON
146146
default NRF_SECURE_APPROTECT_USE_UICR
147147
help
148148
Specifies how the SystemInit() function should handle the secure
149149
APPROTECT mechanism.
150150

151151
config NRF_SECURE_APPROTECT_DISABLE
152152
bool "Disable"
153-
depends on SOC_NRF54L15_CPUAPP
153+
depends on SOC_NRF54L_CPUAPP_COMMON
154154
help
155155
When this option is selected, the SystemInit() disables
156156
the secure APPROTECT mechanism.

0 commit comments

Comments
 (0)