]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47XX: Fix reboot problem on BCM4705/BCM4785
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 18 Aug 2014 20:01:16 +0000 (22:01 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 26 Aug 2014 00:18:53 +0000 (02:18 +0200)
commit23a0978e3d00b2dc4584457490e40ff4957795c4
tree10499f77e961941cc195e5cb30cebc3a2d030090
parentb8c6ca15b4959ffda637c8da676e742fe471cdd3
MIPS: BCM47XX: 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.

The previous commit was 3fb9a39f496630dc8c9d4f7f4a2f34f765b2345d [MIPS:
BCM47XX: make reboot more relaiable]

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: jogo@openwrt.org
Cc: zajec5@gmail.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7545/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/setup.c