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/830-huawei_e970_support.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/830-huawei_e970_support.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch b/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch index 7880ec8c36..20b8526689 100644 --- a/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch +++ b/target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch @@ -8,7 +8,7 @@ #include <asm/bootinfo.h> #include <asm/prom.h> #include <asm/reboot.h> -@@ -266,6 +267,33 @@ static struct fixed_phy_status bcm47xx_f +@@ -275,6 +276,33 @@ static struct fixed_phy_status bcm47xx_f .duplex = DUPLEX_FULL, }; @@ -42,7 +42,7 @@ static int __init bcm47xx_register_bus_complete(void) { switch (bcm47xx_bus_type) { -@@ -285,6 +313,7 @@ static int __init bcm47xx_register_bus_c +@@ -294,6 +322,7 @@ static int __init bcm47xx_register_bus_c bcm47xx_leds_register(); bcm47xx_workarounds(); fixed_phy_add(PHY_POLL, 0, &bcm47xx_fixed_phy_status); |