summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2018-03-13 20:33:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-23 18:40:08 +0300
commiteb428ee0e3ca6c8ea6fdfdf24a5918f739933119 (patch)
tree6c835c65c39b50fe938fed60211396fb01f20b01 /drivers/char/hw_random/Kconfig
parent2805894c1ee0e598d59f055b8225ce4d0d6b2a19 (diff)
downloadlinux-eb428ee0e3ca6c8ea6fdfdf24a5918f739933119.tar.xz
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.