diff options
author | Florian Fainelli <florian@openwrt.org> | 2015-04-04 18:01:07 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2015-04-04 18:01:07 +0000 |
commit | b1ba4c50963db865b57092cd2ff9676e629aacf1 (patch) | |
tree | 605e14b700c9dacd60dc44b322fb2cc1b30b59d5 /target/linux/mcs814x/patches-3.18/005-mcs814x_rng.patch | |
parent | c31df6e995c36e2b14b74f727b8392e6c1c10afc (diff) | |
download | master-31e0f0ae-b1ba4c50963db865b57092cd2ff9676e629aacf1.tar.gz master-31e0f0ae-b1ba4c50963db865b57092cd2ff9676e629aacf1.tar.bz2 master-31e0f0ae-b1ba4c50963db865b57092cd2ff9676e629aacf1.zip |
mcs814x: add support for 3.18
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 45273
Diffstat (limited to 'target/linux/mcs814x/patches-3.18/005-mcs814x_rng.patch')
-rw-r--r-- | target/linux/mcs814x/patches-3.18/005-mcs814x_rng.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/mcs814x/patches-3.18/005-mcs814x_rng.patch b/target/linux/mcs814x/patches-3.18/005-mcs814x_rng.patch new file mode 100644 index 0000000000..4af3d86839 --- /dev/null +++ b/target/linux/mcs814x/patches-3.18/005-mcs814x_rng.patch @@ -0,0 +1,31 @@ +--- a/drivers/char/hw_random/Kconfig ++++ b/drivers/char/hw_random/Kconfig +@@ -229,6 +229,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 ARCH_HAS_RNGA +--- a/drivers/char/hw_random/Makefile ++++ b/drivers/char/hw_random/Makefile +@@ -19,6 +19,7 @@ obj-$(CONFIG_HW_RANDOM_OMAP3_ROM) += oma + 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 |