spl: armv7m: keep ARM v7M in thumb mode while jumping to entry point
authorVikas Manocha <vikas.manocha@st.com>
Fri, 31 Mar 2017 23:34:39 +0000 (16:34 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 8 Apr 2017 13:26:53 +0000 (09:26 -0400)
commit634fcf084875674d86c303e630f83b2017e7e07f
tree90c4e7f0ec4e38acc28b1e3ae0a50856b23941d6
parent52609d753b8377ad974ffa5771dbeb011dc1f81a
spl: armv7m: keep ARM v7M in thumb mode while jumping to entry point

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@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@st.com>
common/spl/spl.c