brcm47xx: fix reboot problem on BCM4705/BCM4785
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 8 Aug 2014 23:05:24 +0000 (23:05 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 8 Aug 2014 23:05:24 +0000 (23:05 +0000)
commit5cd22bc53dcc36a2ccf420c2d08f47a750db29c9
tree708e1eaee96600613bd41b5a47d0fe3a8b03f15f
parent9d93edf44c34a2813de82c8ebe8657759203f8d6
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
target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch
target/linux/brcm47xx/patches-3.10/170-fix-74k-cpu.patch
target/linux/brcm47xx/patches-3.10/208-b44-use-fixed-PHY-device-if-we-do-not-find-any.patch
target/linux/brcm47xx/patches-3.10/830-huawei_e970_support.patch
target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch