summaryrefslogtreecommitdiff
path: root/board/st/stm32f746-disco/stm32f746-disco.c
diff options
context:
space:
mode:
authorVikas Manocha <vikas.manocha@st.com>2017-05-28 19:55:08 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-09 01:00:27 (GMT)
commit6bcdd66d1c3766a970e06a61a7233daacb5045db (patch)
tree424d34a36073323df3dc75f2f22fa6d13bbb1444 /board/st/stm32f746-disco/stm32f746-disco.c
parent156d64fa55e9914b144c5e83f2a9e13d1223a4d3 (diff)
downloadu-boot-fsl-qoriq-6bcdd66d1c3766a970e06a61a7233daacb5045db.tar.xz
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: Vikas Manocha <vikas.manocha@st.com>
Diffstat (limited to 'board/st/stm32f746-disco/stm32f746-disco.c')
0 files changed, 0 insertions, 0 deletions