OSDN Git Service

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)
commit4588b58d95c08880d5c67ad277ba534ffb37e7ba
tree10499f77e961941cc195e5cb30cebc3a2d030090
parent42e0767145902f578ab92731c90b5c1d1a24974c
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 316cad5c1d4daee998cd1f83ccdb437f6f20d45c [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