diff options
author | Omer Khaliq <okhaliq@caviumnetworks.com> | 2016-08-23 16:27:15 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-31 23:00:40 +0800 |
commit | cc2f1908c6b8f6257b7da9124ce6d859c13cba3b (patch) | |
tree | 935ea559d7ea052874c730485f4b07c523953676 /drivers/char/hw_random/Kconfig | |
parent | 21b5b8eebbae427d7d890b7dd1e43a63aca7c26c (diff) | |
download | blackbird-obmc-linux-cc2f1908c6b8f6257b7da9124ce6d859c13cba3b.tar.gz blackbird-obmc-linux-cc2f1908c6b8f6257b7da9124ce6d859c13cba3b.zip |
hwrng: cavium - Add Cavium HWRNG driver for ThunderX SoC.
The Cavium ThunderX SoC has a hardware random number generator.
This driver provides support using the HWRNG framework.
Signed-off-by: Omer Khaliq <okhaliq@caviumnetworks.com>
Signed-off-by: Ananth Jasty <Ananth.Jasty@cavium.com>
Acked-by: David Daney <david.daney@cavium.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/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 56ad5a5936a9..fb9c7adfdb3a 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -410,6 +410,19 @@ config HW_RANDOM_MESON If unsure, say Y. +config HW_RANDOM_CAVIUM + tristate "Cavium ThunderX Random Number Generator support" + depends on HW_RANDOM && PCI && (ARM64 || (COMPILE_TEST && 64BIT)) + default HW_RANDOM + ---help--- + This driver provides kernel-side support for the Random Number + Generator hardware found on Cavium SoCs. + + To compile this driver as a module, choose M here: the + module will be called cavium_rng. + + If unsure, say Y. + endif # HW_RANDOM config UML_RANDOM |