aboutsummaryrefslogtreecommitdiff
path: root/arch/src/Makefile
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2018-09-24 10:43:40 +0100
committerronald-cron-arm <39518861+ronald-cron-arm@users.noreply.github.com>2018-10-08 17:49:02 +0200
commit2b2246a5d06b44a8e641748e4f4ba8563ab33c54 (patch)
tree47760179877b564977201ac9415ad8cc4225e275 /arch/src/Makefile
parent801c0e943fdea08fbc6543dd5bf8f9063b697ba0 (diff)
arm: Convert assembly files to C
Minimizing the amount of assembly we use makes it easier to understand the early boot flow and how objects are placed in the ELF image. Additionally, arm_init_ccr() is no longer called before the C runtime initialization is done, and is instead called by main(). Change-Id: Ib539bd45fb707d6948cc925a024cce803051ff8a Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'arch/src/Makefile')
-rw-r--r--arch/src/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/src/Makefile b/arch/src/Makefile
index c766542e..3ef76ef3 100644
--- a/arch/src/Makefile
+++ b/arch/src/Makefile
@@ -10,18 +10,11 @@ include $(BS_DIR)/toolchain.mk
BS_LIB_NAME = arch
-BS_LIB_SOURCES_armv7-m += armv7-m/exception.S
-BS_LIB_SOURCES_armv7-m += armv7-m/config.S
+BS_LIB_SOURCES_armv7-m += armv7-m/exceptions.c
BS_LIB_SOURCES_armv7-m += arm_nvic.c
BS_LIB_SOURCES_armv7-m += arm_main.c
BS_LIB_SOURCES_armv7-m += arm_mm.c
-ifeq ($(BS_LINKER),ARM)
- BS_LIB_SOURCES_armv7-m += armv7-m/reset_arm.S
-else
- BS_LIB_SOURCES_armv7-m += armv7-m/reset_newlib.S
-endif
-
BS_LIB_INCLUDES_armv7-m += $(TOP_DIR)/cmsis/CMSIS/Core/Include/
BS_LIB_SOURCES_host += host.c