Skip to content

Commit b386341

Browse files
SebastianBoenordicjm
authored andcommitted
[nrf noup] soc: nordic: nrf54l: Skip clock configuration from ns
Do not permit configuring clocks from non-secure as NRF_OSCILLATORS is a not supported as a non-secure peripheral Signed-off-by: Sebastian Bøe <[email protected]>
1 parent 9772e05 commit b386341

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

soc/nordic/nrf54l/Kconfig

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,18 @@ config SOC_NRF54L15_ENGA_CPUFLPR
2525
if SOC_SERIES_NRF54LX
2626

2727
config SOC_NRF54LX_SKIP_CLOCK_CONFIG
28-
bool "Skip clock frequency configuration in system initialization"
28+
bool
29+
prompt "Skip clock frequency configuration in system initialization" if TRUSTED_EXECUTION_SECURE
30+
default y if TRUSTED_EXECUTION_NONSECURE
2931
help
30-
With this option, the CPU clock frequency is not set during system initialization.
31-
The CPU runs with the default, hardware-selected frequency.
32+
With this option, the CPU clock frequency is not set during this
33+
Zephyr image's system initialization. The CPU runs with either
34+
the HW reset values, or with the configuration set by an image
35+
earlier in the boot chain.
36+
37+
Note that for security reasons it is not supported to configure
38+
the clock peripheral (NRF_OSCILLATORS) from the non-secure
39+
domain.
3240

3341
config SOC_NRF54LX_DISABLE_FICR_TRIMCNF
3442
bool "Disable trimming of the device"

0 commit comments

Comments
 (0)