diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-08-08 23:05:24 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-08-08 23:05:24 +0000 |
commit | 18974e386b6703f228a0f45c43d6d5e9f1dab359 (patch) | |
tree | 708e1eaee96600613bd41b5a47d0fe3a8b03f15f /target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch | |
parent | 33a0a7cdde19c5891905f6c38be19c701dbc4627 (diff) | |
download | upstream-18974e386b6703f228a0f45c43d6d5e9f1dab359.tar.gz upstream-18974e386b6703f228a0f45c43d6d5e9f1dab359.tar.bz2 upstream-18974e386b6703f228a0f45c43d6d5e9f1dab359.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.
backport of: r42083
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42086 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 2 |
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); |