summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorTomer Maimon <tmaimon77@gmail.com>2019-09-12 11:01:49 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-04 17:04:32 +0200
commitc98429297d8b25a0d9c48d8e1f5237f19412f07b (patch)
treefe910026d067be566708d1bd3ede68e4f2792bfb /drivers/char/hw_random/Kconfig
parentdt-binding: hwrng: add NPCM RNG documentation (diff)
downloadlinux-c98429297d8b25a0d9c48d8e1f5237f19412f07b.tar.xz
linux-c98429297d8b25a0d9c48d8e1f5237f19412f07b.zip
hwrng: npcm - add NPCM RNG driver
Add Nuvoton NPCM BMC Random Number Generator(RNG) driver. Signed-off-by: Tomer Maimon <tmaimon77@gmail.com> Reviewed-by: Daniel Thompson <daniel.thompson@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/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 59f25286befe..87a1c30e7958 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -440,6 +440,19 @@ config HW_RANDOM_OPTEE
If unsure, say Y.
+config HW_RANDOM_NPCM
+ tristate "NPCM Random Number Generator support"
+ depends on ARCH_NPCM || COMPILE_TEST
+ default HW_RANDOM
+ help
+ This driver provides support for the Random Number
+ Generator hardware available in Nuvoton NPCM SoCs.
+
+ To compile this driver as a module, choose M here: the
+ module will be called npcm-rng.
+
+ If unsure, say Y.
+
endif # HW_RANDOM
config UML_RANDOM