Skip to content

Commit 545886b

Browse files
piotrkoziardkalowsk
authored andcommitted
soc: nordic: nrf54l: add Kconfig to control whether to apply Errata 56
Adds config option that allows configuration workaround 56. Signed-off-by: Piotr Koziar <piotr.koziar@nordicsemi.no>
1 parent e72e837 commit 545886b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ endif()
200200
zephyr_compile_definitions_ifdef(CONFIG_SOC_NRF54LX_SKIP_CLOCK_CONFIG NRF_SKIP_CLOCK_CONFIGURATION)
201201
zephyr_compile_definitions_ifdef(CONFIG_SOC_NRF54LX_DISABLE_FICR_TRIMCNF NRF_DISABLE_FICR_TRIMCNF)
202202
zephyr_compile_definitions_ifdef(CONFIG_SOC_NRF54LX_SKIP_GLITCHDETECTOR_DISABLE NRF_SKIP_GLITCHDETECTOR_DISABLE)
203+
zephyr_compile_definitions_ifndef(CONFIG_SOC_NRF54L_ANOMALY_56_WORKAROUND NRF54L_CONFIGURATION_56_ENABLE=0)
203204

204205
# Inject code to skip TAMPC setup for nRF54L20 and nRF54L09. It is not supported for now.
205206
# It needs to be removed when support is provided.

soc/nordic/nrf54l/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,10 @@ config SOC_NRF_FORCE_CONSTLAT
9090
of base resources on while in sleep. The advantage of having a constant
9191
and predictable latency will be at the cost of having increased power consumption.
9292

93+
config SOC_NRF54L_ANOMALY_56_WORKAROUND
94+
bool "Apply workaround 56 for nRF54L SoCs"
95+
default y
96+
help
97+
This option enables configuration workaround 56 for nRF54L Series SoCs.
98+
9399
endif # SOC_SERIES_NRF54LX

0 commit comments

Comments
 (0)