]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 20:39:49 +0000 (21:39 +0100)
commitc780db2f666d3562430816c0cec8e726639e629b
tree01fa45d2613fffcb349d1963564ef99f09aebfa7
parentb17266512f26ec673af64d788e9f928f0f1b2055
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>
Acked-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6288/
arch/mips/bcm47xx/setup.c