rng: Tighten some rng driver dependencies
authorTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 15:31:42 +0000 (09:31 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Oct 2025 22:13:06 +0000 (16:13 -0600)
commitaf4acc7186fac32b69e2a0ad5e1ffb4677bfa825
tree5f55dd4c0feb125b478827eba86af7efa8b7fc17
parent1d77a98b3d8c39a1421b7ae44186cb3a1c22ec7a
rng: Tighten some rng driver dependencies

In this case, the NPCM RNG driver also provides some of the functions
that are implemented in the generic LIB_RAND file, so only allow this to
be built when that is disabled. The exynos RNG driver depends on ARM
SMCCC calls and so cannot be built outside of that. Express these
requirements in Kconfig as well.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/rng/Kconfig