Skip to content

Commit a8776c0

Browse files
Vge0rgeNordicBuilder
authored andcommitted
nrf_security: Enable NRF_SECURITY for Ironside devices
Enable NRF_SECURITY by default when the PSA RNG is enabled with the Ironside devices. I also refactored the previous logic to avoid duplications in the default statements. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 5f8acdd commit a8776c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

subsys/nrf_security/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ config NRF_SECURITY
3535
depends on SOC_FAMILY_NORDIC_NRF
3636
default y if BUILD_WITH_TFM
3737
# entropy is provided by PSA and NRF_SECURITY on NRF54LX and NRF71X
38-
default y if DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED && SOC_SERIES_NRF54LX && !IS_BOOTLOADER_IMG && GEN_ISR_TABLES
39-
default y if DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED && SOC_SERIES_NRF71X && !IS_BOOTLOADER_IMG && GEN_ISR_TABLES
38+
default y if DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED \
39+
&& (SOC_SERIES_NRF54LX || SOC_SERIES_NRF71X || DT_HAS_NORDIC_IRONSIDE_CALL_ENABLED) \
40+
&& !IS_BOOTLOADER_IMG && GEN_ISR_TABLES
4041
select DISABLE_MBEDTLS_BUILTIN if MBEDTLS
4142
# NCS does not use TF-M's BL2 bootloader, but uses it's own fork
4243
# of MCUBoot instead (CONFIG_BOOTLOADER_MCUBOOT).

0 commit comments

Comments
 (0)