MIPS: BCM47XX: do not use cpu_wait instruction on BCM4706
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Dec 2013 13:36:30 +0000 (14:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Jan 2014 21:39:51 +0000 (22:39 +0100)
commit76b573e46016eabc79e6764a458a559a30dfa7e9
tree13e611b711eef02344a00370fe71e513087a5e56
parent7da4b6f8ffdbcddcb203d890617768af51d1ad91
MIPS: BCM47XX: do not use cpu_wait instruction on BCM4706

The BCM4706 has a problem with the CPU wait instruction. When r4k_wait
or r4k_wait_irqoff is used will just hang and not return from a
msleep(). Removing the cpu_wait functionality is a workaround for this
problem. The BCM4716 does not have this problem.

The BCM4706 SoC uses a MIPS 74K V4.9 CPU.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6288/
arch/mips/bcm47xx/setup.c