summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorJoshua Henderson <joshua.henderson@microchip.com>2016-02-08 14:17:53 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-17 04:07:48 +0800
commit730d02e27670fa5b6a55778d11023c5897d87d57 (patch)
tree9a5443f8d945c460a2ac8d8290cef96c47148338 /drivers/char/hw_random/Kconfig
parentd489d170eaf6ebd8562ba77d113304c8640113b7 (diff)
downloadtalos-obmc-linux-730d02e27670fa5b6a55778d11023c5897d87d57.tar.gz
talos-obmc-linux-730d02e27670fa5b6a55778d11023c5897d87d57.zip
hwrng: pic32 - Add PIC32 RNG hardware driver
Add support for the hardware true random number generator peripheral found on PIC32. Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> 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 8d895908d608..967904f5bbcb 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -381,6 +381,19 @@ config HW_RANDOM_STM32
If unsure, say N.
+config HW_RANDOM_PIC32
+ tristate "Microchip PIC32 Random Number Generator support"
+ depends on HW_RANDOM && MACH_PIC32
+ default y
+ ---help---
+ This driver provides kernel-side support for the Random Number
+ Generator hardware found on a PIC32.
+
+ To compile this driver as a module, choose M here. the
+ module will be called pic32-rng.
+
+ If unsure, say Y.
+
endif # HW_RANDOM
config UML_RANDOM
OpenPOWER on IntegriCloud