summaryrefslogtreecommitdiff
path: root/arch/arm/lib/Makefile
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2015-05-05 19:00:23 (GMT)
committerTom Rini <trini@konsulko.com>2015-05-28 12:18:23 (GMT)
commitf99993c10882f7dc8ec35993d5febe59aac01e6a (patch)
treec91edb5481c62885690884d2197a3634e1171652 /arch/arm/lib/Makefile
parentc777efe3a1c3ea62123437a30468fa0b17a689b2 (diff)
downloadu-boot-fsl-qoriq-f99993c10882f7dc8ec35993d5febe59aac01e6a.tar.xz
common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()
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. Signed-off-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'arch/arm/lib/Makefile')
-rw-r--r--arch/arm/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index 0e1ad0e..31a5c8d 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -26,6 +26,7 @@ ifndef CONFIG_SYS_GENERIC_BOARD
obj-y += board.o
endif
+obj-$(CONFIG_CPU_V7M) += cmd_boot.o
obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o
obj-$(CONFIG_SYS_L2_PL310) += cache-pl310.o