Skip to content

Commit fee8450

Browse files
committed
Revert "[nrf fromlist] soc: nordic: nrf54l15: fix APPROTECT handling"
This reverts commit e49e65b. Revert the change until TFM is fixed. Signed-off-by: Robert Lubos <[email protected]>
1 parent 4c7f4d4 commit fee8450

File tree

2 files changed

+6
-27
lines changed

2 files changed

+6
-27
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,11 @@ zephyr_compile_definitions_ifdef(CONFIG_SOC_NRF9230_ENGB_CPUPPR NRF9230_ENGB_XXA
7575
zephyr_compile_definitions_ifdef(CONFIG_NRF_APPROTECT_LOCK
7676
ENABLE_APPROTECT)
7777
zephyr_compile_definitions_ifdef(CONFIG_NRF_APPROTECT_USER_HANDLING
78-
ENABLE_APPROTECT_USER_HANDLING
79-
ENABLE_AUTHENTICATED_APPROTECT)
78+
ENABLE_APPROTECT_USER_HANDLING)
8079
zephyr_compile_definitions_ifdef(CONFIG_NRF_SECURE_APPROTECT_LOCK
81-
ENABLE_SECURE_APPROTECT
82-
ENABLE_SECUREAPPROTECT)
80+
ENABLE_SECURE_APPROTECT)
8381
zephyr_compile_definitions_ifdef(CONFIG_NRF_SECURE_APPROTECT_USER_HANDLING
84-
ENABLE_SECURE_APPROTECT_USER_HANDLING
85-
ENABLE_AUTHENTICATED_SECUREAPPROTECT)
82+
ENABLE_SECURE_APPROTECT_USER_HANDLING)
8683
zephyr_library_compile_definitions_ifdef(CONFIG_NRF_TRACE_PORT
8784
ENABLE_TRACE)
8885

soc/nordic/Kconfig

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -98,24 +98,15 @@ config NFCT_PINS_AS_GPIOS
9898

9999
choice NRF_APPROTECT_HANDLING
100100
bool "APPROTECT handling"
101-
depends on SOC_SERIES_NRF52X || SOC_SERIES_NRF53X || SOC_NRF54L15_CPUAPP || \
102-
SOC_SERIES_NRF91X
103-
default NRF_APPROTECT_DISABLE if SOC_NRF54L15_CPUAPP
101+
depends on SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET || \
102+
SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X
104103
default NRF_APPROTECT_USE_UICR
105104
help
106105
Specifies how the SystemInit() function should handle the APPROTECT
107106
mechanism.
108107

109-
config NRF_APPROTECT_DISABLE
110-
bool "Disable"
111-
depends on SOC_NRF54L15_CPUAPP
112-
help
113-
When this option is selected, the SystemInit() disables
114-
the APPROTECT mechanism.
115-
116108
config NRF_APPROTECT_USE_UICR
117109
bool "Use UICR"
118-
depends on SOC_SERIES_NRF52X || SOC_SERIES_NRF53X || SOC_SERIES_NRF91X
119110
help
120111
When this option is selected, the SystemInit() function loads the
121112
firmware branch state of the APPROTECT mechanism from UICR, so if
@@ -140,23 +131,14 @@ endchoice
140131

141132
choice NRF_SECURE_APPROTECT_HANDLING
142133
bool "Secure APPROTECT handling"
143-
depends on SOC_NRF5340_CPUAPP || SOC_NRF54L15_CPUAPP || SOC_SERIES_NRF91X
144-
default NRF_SECURE_APPROTECT_DISABLE if SOC_NRF54L15_CPUAPP
134+
depends on SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X
145135
default NRF_SECURE_APPROTECT_USE_UICR
146136
help
147137
Specifies how the SystemInit() function should handle the secure
148138
APPROTECT mechanism.
149139

150-
config NRF_SECURE_APPROTECT_DISABLE
151-
bool "Disable"
152-
depends on SOC_NRF54L15_CPUAPP
153-
help
154-
When this option is selected, the SystemInit() disables
155-
the secure APPROTECT mechanism.
156-
157140
config NRF_SECURE_APPROTECT_USE_UICR
158141
bool "Use UICR"
159-
depends on SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X
160142
help
161143
When this option is selected, the SystemInit() function loads the
162144
firmware branch state of the secure APPROTECT mechanism from UICR,

0 commit comments

Comments
 (0)