summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-04-13 18:11:28 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-15 22:36:36 +0800
commitafc39d6e89b4f410f511f03dc6de8dc1d4952d42 (patch)
tree6ab5bee42fdebde12258e80dfd2626b5b962942e /drivers/char/hw_random/Kconfig
parentc7995ee7ff60c1973a3a63e35b41c2393f47f760 (diff)
downloadtalos-obmc-linux-afc39d6e89b4f410f511f03dc6de8dc1d4952d42.tar.gz
talos-obmc-linux-afc39d6e89b4f410f511f03dc6de8dc1d4952d42.zip
hwrng: hisi - Add support for Hisilicon SoC RNG
This adds the Hisilicon Random Number Generator(RNG) support, which is found in Hip04 and Hip05 soc. Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.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/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 3c5be60befce..c76a88da8d04 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -334,6 +334,19 @@ config HW_RANDOM_TPM
If unsure, say Y.
+config HW_RANDOM_HISI
+ tristate "Hisilicon Random Number Generator support"
+ depends on HW_RANDOM && ARCH_HISI
+ default HW_RANDOM
+ ---help---
+ This driver provides kernel-side support for the Random Number
+ Generator hardware found on Hisilicon Hip04 and Hip05 SoC.
+
+ To compile this driver as a module, choose M here: the
+ module will be called hisi-rng.
+
+ If unsure, say Y.
+
config HW_RANDOM_MSM
tristate "Qualcomm SoCs Random Number Generator support"
depends on HW_RANDOM && ARCH_QCOM
OpenPOWER on IntegriCloud