Sughosh Ganu | 90592ed | 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 | cd9a2f9 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 8 | |
Heinrich Schuchardt | cb02866 | 2020-02-02 19:45:35 +0100 | [diff] [blame^] | 9 | if DM_RNG |
| 10 | |
Sughosh Ganu | 23e3751 | 2019-12-28 23:58:31 +0530 | [diff] [blame] | 11 | config RNG_SANDBOX |
| 12 | bool "Sandbox random number generator" |
Heinrich Schuchardt | cb02866 | 2020-02-02 19:45:35 +0100 | [diff] [blame^] | 13 | depends on SANDBOX |
| 14 | default y |
Sughosh Ganu | 23e3751 | 2019-12-28 23:58:31 +0530 | [diff] [blame] | 15 | help |
| 16 | Enable random number generator for sandbox. This is an |
| 17 | emulation of a rng device. |
| 18 | |
Sughosh Ganu | cd9a2f9 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 19 | config RNG_STM32MP1 |
| 20 | bool "Enable random number generator for STM32MP1" |
Heinrich Schuchardt | cb02866 | 2020-02-02 19:45:35 +0100 | [diff] [blame^] | 21 | depends on ARCH_STM32MP |
Sughosh Ganu | cd9a2f9 | 2019-12-28 23:58:29 +0530 | [diff] [blame] | 22 | default n |
| 23 | help |
| 24 | Enable STM32MP1 rng driver. |
Heinrich Schuchardt | cb02866 | 2020-02-02 19:45:35 +0100 | [diff] [blame^] | 25 | |
| 26 | endif |