Commit 7b640fee authored by Sascha Hauer's avatar Sascha Hauer Committed by Willy Tarreau

ARM: SoCFPGA: Fix secondary CPU startup in thumb2 kernel

commit 5616f367 upstream.

The secondary CPU starts up in ARM mode. When the kernel is compiled in
thumb2 mode we have to explicitly compile the secondary startup
trampoline in ARM mode, otherwise the CPU will go to Nirvana.
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Reported-by: default avatarSteffen Trumtrar <s.trumtrar@pengutronix.de>
Suggested-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
parent 834f5956
......@@ -12,6 +12,7 @@
__CPUINIT
.arch armv7-a
.arm
ENTRY(secondary_trampoline)
movw r2, #:lower16:cpu1start_addr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment