MIPS: OCTEON: Protect accesses to bootbus flash with octeon_bootbus_sem.
authorDavid Daney <david.daney@cavium.com>
Thu, 5 Mar 2015 14:31:30 +0000 (17:31 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:43 +0000 (17:21 +0200)
commit8c1e6b14e27d78fcea4aa6ba09e56c41f528f1cc
treece651a479d315214e1270a026628689486cae762
parent24d4e7f642882a8a13da170b4ba86eec8fa91bf2
MIPS: OCTEON: Protect accesses to bootbus flash with octeon_bootbus_sem.

Without this, we get bus errors.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9460/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/cavium-octeon/flash_setup.c