Sughosh Ganu | a248768 | 2019-12-28 23:58:27 +0530 | [diff] [blame] | 1 | config 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 Ganu | 231ec90 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 8 | |
Sughosh Ganu | ff0dada | 2019-12-28 23:58:31 +0530 | [diff] [blame^] | 9 | config 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 Ganu | 231ec90 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 17 | config 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. |