[U-Boot] [U-Boot, 1/1] arm/lib/bootm.c: keep ARM v7M in thumb mode during boot_jump_linux()

Tom Rini trini at konsulko.com
Fri Apr 28 13:09:01 UTC 2017


On Tue, Apr 25, 2017 at 11:07:46AM +0200, Patrice Chotard wrote:

> From: Patrice Chotard <patrice.chotard at st.com>
> 
> 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 at konsulko.com>
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170428/bbee3de2/attachment.sig>


More information about the U-Boot mailing list