ARM: shmobile: Check r8a7791 MD21 at SMP boot
authorMagnus Damm <damm@opensource.se>
Wed, 26 Feb 2014 09:59:16 +0000 (18:59 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:53 +0000 (11:14 +0100)
commit15a95032a6d142ac8f8013b0a6289ef1ece1968a
tree0120556d33888d1df99cf72da59aefe0808a89d2
parent5c1dfdf4cf4604e33c2c98beae98da6bfe2a064c
ARM: shmobile: Check r8a7791 MD21 at SMP boot

On r8a7791 the hardware boot mode bit MD21 indicates if hardware
debug mode is enabled or not. In case hardware debug mode is enabled
print a warning and refrain from booting secondary CPU cores.

Without this patch Koelsch with SW8-4 set to OFF will hang at SMP boot.

Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 277efd30cfc72ec2f44a9bc95d93807b867bd9e9)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7791.c