blob: edb6152bb9d43ee8ef95d379a76d0a9b1af595de [file] [log] [blame]
Sughosh Ganua2487682019-12-28 23:58:27 +05301config DM_RNG
2 bool "Driver support for Random Number Generator devices"
3 depends on DM
4 help
5 Enable driver model for random number generator(rng) devices.
6 This interface is used to initialise the rng device and to
7 read the random seed from the device.
Sughosh Ganu231ec902019-12-28 23:58:29 +05308
Heinrich Schuchardtc312c4b2020-02-02 19:45:35 +01009if DM_RNG
10
Heinrich Schuchardtbc40eb22020-02-02 19:52:04 +010011config RNG_MESON
12 bool "Amlogic Meson Random Number Generator support"
13 depends on ARCH_MESON
14 default y
15 help
16 Enable support for hardware random number generator
17 of Amlogic Meson SoCs.
18
Sughosh Ganuff0dada2019-12-28 23:58:31 +053019config RNG_SANDBOX
20 bool "Sandbox random number generator"
Heinrich Schuchardtc312c4b2020-02-02 19:45:35 +010021 depends on SANDBOX
22 default y
Sughosh Ganuff0dada2019-12-28 23:58:31 +053023 help
24 Enable random number generator for sandbox. This is an
25 emulation of a rng device.
26
Sughosh Ganu231ec902019-12-28 23:58:29 +053027config RNG_STM32MP1
28 bool "Enable random number generator for STM32MP1"
Heinrich Schuchardtc312c4b2020-02-02 19:45:35 +010029 depends on ARCH_STM32MP
Sughosh Ganu231ec902019-12-28 23:58:29 +053030 default n
31 help
32 Enable STM32MP1 rng driver.
Heinrich Schuchardtc312c4b2020-02-02 19:45:35 +010033
34endif