[U-Boot] spl: armv7m: keep ARM v7M in thumb mode while jumping to entry point
Tom Rini
trini at konsulko.com
Sun Apr 9 01:15:15 UTC 2017
On Fri, Mar 31, 2017 at 04:34:39PM -0700, Vikas Manocha wrote:
> On ARM v7M, the processor will return to ARM mode when executing blx
> instruction with bit 0 of the address == 0. Always set it to 1 to stay
> in thumb mode.
>
> Similar commit:
> f99993c10882f7dc8ec35993d5febe59aac01e6a
> Author: Matt Porter <mporter at konsulko.com>
> Date: Tue May 5 15:00:23 2015 -0400
> common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()
>
> Signed-off-by: Vikas Manocha <vikas.manocha 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/20170408/d32ae799/attachment.sig>
More information about the U-Boot
mailing list