aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.3/101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-03-28 20:42:30 +0000
committerJonas Gorski <jogo@openwrt.org>2012-03-28 20:42:30 +0000
commitd569a898ab7ab8ef6cf9c9e48305d7b77e7c91c7 (patch)
tree99cdfe0a609e5a2fe7c52b9e6e789d223c497137 /target/linux/brcm63xx/patches-3.3/101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch
parent37d45e311b702ee2c819b44d595470f69ac7eb38 (diff)
downloadupstream-d569a898ab7ab8ef6cf9c9e48305d7b77e7c91c7.tar.gz
upstream-d569a898ab7ab8ef6cf9c9e48305d7b77e7c91c7.tar.bz2
upstream-d569a898ab7ab8ef6cf9c9e48305d7b77e7c91c7.zip
bcm63xx: add driver for the internal hw trng on bcm6368
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31131 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.3/101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.3/101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.3/101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch b/target/linux/brcm63xx/patches-3.3/101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch
new file mode 100644
index 0000000000..81f87c6100
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.3/101-MIPS-BCM63XX-fix-BCM6368-IPSec-clock-bit.patch
@@ -0,0 +1,23 @@
+From 41ee87b6ddd525fab54e21ede506f2084bcabed3 Mon Sep 17 00:00:00 2001
+From: Florian Fainelli <florian@openwrt.org>
+Date: Wed, 25 Jan 2012 17:39:52 +0100
+Subject: [PATCH 14/63] MIPS: BCM63XX: fix BCM6368 IPSec clock bit
+
+The IPsec clock bit is 18 and not 17.
+
+Signed-off-by: Florian Fainelli <florian@openwrt.org>
+---
+ arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
++++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
+@@ -99,7 +99,7 @@
+ #define CKCTL_6368_USBH_EN (1 << 15)
+ #define CKCTL_6368_DISABLE_GLESS_EN (1 << 16)
+ #define CKCTL_6368_NAND_EN (1 << 17)
+-#define CKCTL_6368_IPSEC_EN (1 << 17)
++#define CKCTL_6368_IPSEC_EN (1 << 18)
+
+ #define CKCTL_6368_ALL_SAFE_EN (CKCTL_6368_SWPKT_USB_EN | \
+ CKCTL_6368_SWPKT_SAR_EN | \