summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2015-10-12 09:21:29 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-10-14 22:23:36 +0800
commitc6a97c42e399ad0d639f616e58e13f0b4ae87626 (patch)
tree51b26ca46b122f77b4de7e42cfc86e015e97bfef /drivers/char/hw_random/Kconfig
parentff90900a4b007d26d4a47abec9891bf8488a7668 (diff)
downloadblackbird-obmc-linux-c6a97c42e399ad0d639f616e58e13f0b4ae87626.tar.gz
blackbird-obmc-linux-c6a97c42e399ad0d639f616e58e13f0b4ae87626.zip
hwrng: stm32 - add support for STM32 HW RNG
Add support for STMicroelectronics STM32 random number generator. The config value defaults to N, reflecting the fact that STM32 is a very low resource microcontroller platform and unlikely to be targeted by any "grown up" defconfigs. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/Kconfig')
-rw-r--r--drivers/char/hw_random/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index ba5406b9a072..dbf22719462f 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -369,6 +369,18 @@ config HW_RANDOM_XGENE
If unsure, say Y.
+config HW_RANDOM_STM32
+ tristate "STMicroelectronics STM32 random number generator"
+ depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST)
+ help
+ This driver provides kernel-side support for the Random Number
+ Generator hardware found on STM32 microcontrollers.
+
+ To compile this driver as a module, choose M here: the
+ module will be called stm32-rng.
+
+ If unsure, say N.
+
endif # HW_RANDOM
config UML_RANDOM
OpenPOWER on IntegriCloud