Skip to content

Commit 5f7678f

Browse files
SebastianBoerlubos
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]> (cherry picked from commit 4a163d0)
1 parent 68a9ecc commit 5f7678f

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
@@ -56,10 +56,18 @@ config SOC_NRF54LM20A_ENGA_CPUFLPR
5656
if SOC_SERIES_NRF54LX
5757

5858
config SOC_NRF54LX_SKIP_CLOCK_CONFIG
59-
bool "Skip clock frequency configuration in system initialization"
59+
bool
60+
prompt "Skip clock frequency configuration in system initialization" if TRUSTED_EXECUTION_SECURE
61+
default y if TRUSTED_EXECUTION_NONSECURE
6062
help
61-
With this option, the CPU clock frequency is not set during system initialization.
62-
The CPU runs with the default, hardware-selected frequency.
63+
With this option, the CPU clock frequency is not set during this
64+
Zephyr image's system initialization. The CPU runs with either
65+
the HW reset values, or with the configuration set by an image
66+
earlier in the boot chain.
67+
68+
Note that for security reasons it is not supported to configure
69+
the clock peripheral (NRF_OSCILLATORS) from the non-secure
70+
domain.
6371

6472
config SOC_NRF54LX_DISABLE_FICR_TRIMCNF
6573
bool "Disable trimming of the device"

0 commit comments

Comments
 (0)