]> 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, 19 Aug 2014 11:30:47 +0000 (13:30 +0200)
commit2ccb466ddf292ba03a10b09869c5842e0e8d362e
tree6ae71661690c3a8ed8ef88a4481b10ac75000ba8
parenta99725ebff829d7a795460a54ae60302d412d011
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 95403f13e0a64af5fccb02643cfa05494c2593ce [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