summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2016-06-10 11:21:53 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-13 12:47:51 +0300
commite123be16120df6cdda4e1811a49326125f0aa4dd (patch)
tree2b2d51a0d664467025ba99045b17f96c754b355e /drivers/char/hw_random/Kconfig
parent5ad67c14510b74f3b705bbe6413287a0943e5800 (diff)
downloadlinux-e123be16120df6cdda4e1811a49326125f0aa4dd.tar.xz
hwrng: meson - Add Amlogic Meson Hardware Random Generator
Add support for the Amlogic Meson SoCs hardware random generator. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> 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/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 43d527ea9014..51401100466b 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -396,6 +396,20 @@ config HW_RANDOM_PIC32
If unsure, say Y.
+config HW_RANDOM_MESON
+ tristate "Amlogic Meson Random Number Generator support"
+ depends on HW_RANDOM
+ depends on ARCH_MESON || COMPILE_TEST
+ default y
+ ---help---
+ This driver provides kernel-side support for the Random Number
+ Generator hardware found on Amlogic Meson SoCs.
+
+ To compile this driver as a module, choose M here. the
+ module will be called meson-rng.
+
+ If unsure, say Y.
+
endif # HW_RANDOM
config UML_RANDOM