arm/lib/bootm.c: keep ARM v7M in thumb mode during boot_jump_linux()
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 25 Apr 2017 09:07:46 +0000 (11:07 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2017 20:49:08 +0000 (16:49 -0400)
commitdc89c6fb778ed2d12128e2bb976a45d540afce71
tree6065f1f328cd1d66ce9beb6d94220d54f6025136
parenta93fbf4a78924741a1fc157fd182de79ea15f327
arm/lib/bootm.c: keep ARM v7M in thumb mode during boot_jump_linux()

On ARM v7M, the processor will return to ARM mode when executing
a blx instruction with bit 0 of the address == 0. Always set it
to 1 to stay in thumb mode.

Tested on STM32f746-disco board

Similar commit:
f99993c10882f7dc8ec35993d5febe59aac01e6a
Author: Matt Porter <mporter@konsulko.com>

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/lib/bootm.c