Skip to content

Commit b822ae1

Browse files
committed
[nrf noup] entropy: Add reqs for PSA RNG
The PSA RNG support for nrf54l,nrf54h and nrf92 devices require NCS specific features, like the nrf_security subsys and secdom. Add the requirements for this in the configuration for the PSA RNG. noup since both nrf_security and secdom are not available upstream. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 3dfd754 commit b822ae1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/entropy/Kconfig.psa_crypto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ config ENTROPY_PSA_CRYPTO_RNG
88
depends on DT_HAS_ZEPHYR_PSA_CRYPTO_RNG_ENABLED
99
select ENTROPY_HAS_DRIVER
1010
select PSA_WANT_GENERATE_RANDOM
11+
select NRF_SECURITY if (SOC_SERIES_NRF54LX || SOC_SERIES_NRF54HX)
12+
select SSF_PSA_CRYPTO_SERVICE_ENABLED if (SOC_SERIES_NRF54HX || SOC_SERIES_NRF92X)
13+
depends on ZCBOR || !(SOC_SERIES_NRF54HX || SOC_SERIES_NRF92X)
14+
depends on !DCACHE || !(SOC_SERIES_NRF54HX || SOC_SERIES_NRF92X)
1115
default y
1216
help
1317
Enable the PSA Crypto source Entropy driver.

0 commit comments

Comments
 (0)