blob: 35a3bd192aa94ea1bf210c7e406db4119aad4e28 [file] [log] [blame]
Sughosh Ganu90592ed2019-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 Ganucd9a2f92019-12-28 23:58:29 +05308
Sughosh Ganu23e37512019-12-28 23:58:31 +05309config RNG_SANDBOX
10 bool "Sandbox random number generator"
11 depends on SANDBOX && DM_RNG
12 select CONFIG_LIB_RAND
13 help
14 Enable random number generator for sandbox. This is an
15 emulation of a rng device.
16
Sughosh Ganucd9a2f92019-12-28 23:58:29 +053017config RNG_STM32MP1
18 bool "Enable random number generator for STM32MP1"
19 depends on ARCH_STM32MP && DM_RNG
20 default n
21 help
22 Enable STM32MP1 rng driver.