summaryrefslogtreecommitdiff
path: root/target/linux/mcs814x/patches-3.3/005-mcs814x_rng.patch
blob: 7f7ce8e44c0e4632858ce9a62119875d04374c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -188,6 +188,18 @@ config HW_RANDOM_TX4939
 
 	  If unsure, say Y.
 
+config HW_RANDOM_MCS814X
+	tristate "Moschip MCS814x Random Number Generator"
+	depends on HW_RANDOM && ARCH_MCS814X
+	---help---
+	  This driver provides kernel-side support for the Random Number
+	  Generator hardware found on Moschip MCS814x processors.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called mcs814x-rng.
+
+	  If unusure, say Y.
+
 config HW_RANDOM_MXC_RNGA
 	tristate "Freescale i.MX RNGA Random Number Generator"
 	depends on HW_RANDOM && ARCH_HAS_RNGA
--- a/drivers/char/hw_random/Makefile
+++ b/drivers/char/hw_random/Makefile
@@ -17,6 +17,7 @@ obj-$(CONFIG_HW_RANDOM_OMAP) += omap-rng
 obj-$(CONFIG_HW_RANDOM_PASEMI) += pasemi-rng.o
 obj-$(CONFIG_HW_RANDOM_VIRTIO) += virtio-rng.o
 obj-$(CONFIG_HW_RANDOM_TX4939) += tx4939-rng.o
+obj-$(CONFIG_HW_RANDOM_MCS814X) += mcs814x-rng.o
 obj-$(CONFIG_HW_RANDOM_MXC_RNGA) += mxc-rnga.o
 obj-$(CONFIG_HW_RANDOM_OCTEON) += octeon-rng.o
 obj-$(CONFIG_HW_RANDOM_NOMADIK) += nomadik-rng.o