summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorVitaly Andrianov2018-03-13 18:33:31 +0100
committerHerbert Xu2018-03-23 16:40:08 +0100
commiteb428ee0e3ca6c8ea6fdfdf24a5918f739933119 (patch)
tree6c835c65c39b50fe938fed60211396fb01f20b01 /drivers/char/hw_random/Kconfig
parentdt-bindings: rng: add bindings doc for Keystone SA HWRNG driver (diff)
downloadkernel-qcow2-linux-eb428ee0e3ca6c8ea6fdfdf24a5918f739933119.tar.gz
kernel-qcow2-linux-eb428ee0e3ca6c8ea6fdfdf24a5918f739933119.tar.xz
kernel-qcow2-linux-eb428ee0e3ca6c8ea6fdfdf24a5918f739933119.zip
hwrng: ks-sa - add hw_random driver
Keystone Security Accelerator module has a hardware random generator sub-module. This commit adds the driver for this sub-module. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> [t-kristo@ti.com: dropped one unnecessary dev_err message] Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.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/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 4d0f571c15f9..d53541e96bee 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -452,3 +452,10 @@ config UML_RANDOM
(check your distro, or download from
http://sourceforge.net/projects/gkernel/). rngd periodically reads
/dev/hwrng and injects the entropy into /dev/random.
+
+config HW_RANDOM_KEYSTONE
+ depends on ARCH_KEYSTONE
+ default HW_RANDOM
+ tristate "TI Keystone NETCP SA Hardware random number generator"
+ help
+ This option enables Keystone's hardware random generator.