blob: c1aa43b8236abf787f929049e230b83e8b83b60a [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
Heinrich Schuchardtcb028662020-02-02 19:45:35 +01009if DM_RNG
10
Sughosh Ganu23e37512019-12-28 23:58:31 +053011config RNG_SANDBOX
12 bool "Sandbox random number generator"
Heinrich Schuchardtcb028662020-02-02 19:45:35 +010013 depends on SANDBOX
14 default y
Sughosh Ganu23e37512019-12-28 23:58:31 +053015 help
16 Enable random number generator for sandbox. This is an
17 emulation of a rng device.
18
Sughosh Ganucd9a2f92019-12-28 23:58:29 +053019config RNG_STM32MP1
20 bool "Enable random number generator for STM32MP1"
Heinrich Schuchardtcb028662020-02-02 19:45:35 +010021 depends on ARCH_STM32MP
Sughosh Ganucd9a2f92019-12-28 23:58:29 +053022 default n
23 help
24 Enable STM32MP1 rng driver.
Heinrich Schuchardtcb028662020-02-02 19:45:35 +010025
26endif