Skip to content
Snippets Groups Projects
Commit 6bcdd66d authored by Vikas Manocha's avatar Vikas Manocha Committed by Tom Rini
Browse files

spl: armv7m: to keep ARM v7M in thumb mode before booting next image


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.

At present, it is applied only for raw U-Boot. This patch moves it to just
before booting next image. This way armv7m will be in thumb mode for any image
like raw or image with header like zImage or standard U-Boot.

Signed-off-by: default avatarVikas Manocha <vikas.manocha@st.com>
parent 156d64fa
No related branches found
No related tags found
Loading
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