Skip to content
Snippets Groups Projects
Commit dc89c6fb authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

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:
f99993c1
Author: Matt Porter <mporter@konsulko.com>

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent a93fbf4a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment