mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 22:03:22 +09:00
![Sughosh Ganu](/assets/img/avatar_default.png)
Add a sandbox driver for random number generation. Mostly aimed at providing a unit test for rng uclass. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
23 lines
626 B
Plaintext
23 lines
626 B
Plaintext
config DM_RNG
|
|
bool "Driver support for Random Number Generator devices"
|
|
depends on DM
|
|
help
|
|
Enable driver model for random number generator(rng) devices.
|
|
This interface is used to initialise the rng device and to
|
|
read the random seed from the device.
|
|
|
|
config RNG_SANDBOX
|
|
bool "Sandbox random number generator"
|
|
depends on SANDBOX && DM_RNG
|
|
select CONFIG_LIB_RAND
|
|
help
|
|
Enable random number generator for sandbox. This is an
|
|
emulation of a rng device.
|
|
|
|
config RNG_STM32MP1
|
|
bool "Enable random number generator for STM32MP1"
|
|
depends on ARCH_STM32MP && DM_RNG
|
|
default n
|
|
help
|
|
Enable STM32MP1 rng driver.
|