Skip to content

Commit 38fcef5

Browse files
committed
crypto: Fix dependency loop for ENTROPY_GENERATOR for L15 devices
-Changing default y for nrf_security to use DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED instead of depending on ENTROPY_PSA_CRYPTO_RNG. Doing this avoids a dependency loop on ENTROPY_GENERATOR Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
1 parent a98455f commit 38fcef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/nrf_security/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ 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
38-
default y if ENTROPY_PSA_CRYPTO_RNG && SOC_SERIES_NRF54LX
38+
default y if DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED && SOC_SERIES_NRF54LX
3939
select DISABLE_MBEDTLS_BUILTIN if MBEDTLS
4040
# NCS does not use TF-M's BL2 bootloader, but uses it's own fork
4141
# of MCUBoot instead (CONFIG_BOOTLOADER_MCUBOOT).

0 commit comments

Comments
 (0)