ARM: 8327/1: zImage: add support for ARMv7-M
authorJoachim Eastwood <manabian@gmail.com>
Wed, 25 Mar 2015 07:47:18 +0000 (08:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 28 Mar 2015 16:54:53 +0000 (16:54 +0000)
commitc20611df13c3e3070607c267cf781ba8645a185e
treeedd0917670e155eb71a8192556843286aa45e8a8
parenta092aedb8115c16cb49bc64dd09cb20471ff942b
ARM: 8327/1: zImage: add support for ARMv7-M

This patch makes it possible to enter zImage in Thumb mode for ARMv7-M
(Cortex-M) CPUs that do not support ARM mode. The kernel entry is also
made in Thumb mode.

[ukl: fix spelling in commit log, return early in call_cache_fn]

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Tested-by: Stefan Agner <stefan@agner.ch>
Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/head.S
arch/arm/include/asm/unified.h