提交 5616f367 编写于 作者: S Sascha Hauer 提交者: Kevin Hilman

ARM: SoCFPGA: Fix secondary CPU startup in thumb2 kernel

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: NSascha Hauer <s.hauer@pengutronix.de>
Reported-by: NSteffen Trumtrar <s.trumtrar@pengutronix.de>
Suggested-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: NDinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: NKevin Hilman <khilman@baylibre.com>
上级 258fc497
......@@ -13,6 +13,7 @@
#include <asm/assembler.h>
.arch armv7-a
.arm
ENTRY(secondary_trampoline)
/* CPU1 will always fetch from 0x0 when it is brought out of reset.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册