summaryrefslogtreecommitdiff
path: root/drivers/rng/Kconfig
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2019-12-28 23:58:29 +0530
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-07 18:08:21 +0100
commit231ec905837010f7c50d44423f588118b3090cce (patch)
treea378ff7700694f4e660a72dfbf6b4a7c58ac4147 /drivers/rng/Kconfig
parent82ebf0f6a01c79aa4059bdaf3ddc6522adcc56b5 (diff)
stm32mp1: rng: Add a driver for random number generator(rng) device
Add a driver for the rng device found on stm32mp1 platforms. The driver provides a routine for reading the random number seed from the hardware device. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Patrick Delaunay <patrick.delaunay@st.com> Remove a superfluous blank line Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/rng/Kconfig')
-rw-r--r--drivers/rng/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/rng/Kconfig b/drivers/rng/Kconfig
index dd44cc0242a..c9c475128ed 100644
--- a/drivers/rng/Kconfig
+++ b/drivers/rng/Kconfig
@@ -5,3 +5,10 @@ config DM_RNG
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_STM32MP1
+ bool "Enable random number generator for STM32MP1"
+ depends on ARCH_STM32MP && DM_RNG
+ default n
+ help
+ Enable STM32MP1 rng driver.