summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-08-08 22:52:28 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-08-08 22:52:28 +0000
commit81c246638182bad2f3c13dd9ab66b36e921e219b (patch)
treef5fdc039d41449040919cabffdd73dc0a03ac177 /target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
parentf170eacc88b9815803d0df349ed2d29b27619627 (diff)
downloadmaster-31e0f0ae-81c246638182bad2f3c13dd9ab66b36e921e219b.tar.gz
master-31e0f0ae-81c246638182bad2f3c13dd9ab66b36e921e219b.tar.bz2
master-31e0f0ae-81c246638182bad2f3c13dd9ab66b36e921e219b.zip
brcm47xx: fix reboot problem on BCM4705/BCM4785
This adds some code based on code from the Broadcom GPL tar to fix the reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10 times and have never seen a problem. This reverts the changes in the previous commit and adds the real fix as suggested by RafaƂ. Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into async mode. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42083
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch b/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
index 650f02f2a1..8bab5f09bf 100644
--- a/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
+++ b/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -127,6 +127,10 @@ static int bcm47xx_get_invariants(struct
+@@ -136,6 +136,10 @@ static int bcm47xx_get_invariants(struct
if (bcm47xx_nvram_getenv("cardbus", buf, sizeof(buf)) >= 0)
iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10);