[rtems commit] bsps/arm: Simplify start.S

Sebastian Huber sebh at rtems.org
Wed Nov 21 06:48:38 UTC 2018


Module:    rtems
Branch:    master
Commit:    945291312c27416238a0de96c7ca1d7855c30f9f
Changeset: http://git.rtems.org/rtems/commit/?id=945291312c27416238a0de96c7ca1d7855c30f9f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov 20 13:03:20 2018 +0100

bsps/arm: Simplify start.S

The boot_card() function does not return.

---

 bsps/arm/shared/start/start.S | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S
index e4df46f..c43c81e 100644
--- a/bsps/arm/shared/start/start.S
+++ b/bsps/arm/shared/start/start.S
@@ -337,13 +337,6 @@ bsp_vector_table_copy_done:
 	mov	r0, #0
 	bl	boot_card
 
-twiddle:
-
-	/* Branch to reset function */
-	bl	bsp_reset
-
-	b	twiddle
-
 #elif defined(ARM_MULTILIB_ARCH_V7M)
 
 #include <rtems/score/armv7m.h>
@@ -414,11 +407,6 @@ bsp_start_hook_0_done:
 	movs	r0, #0
 	bl	boot_card
 
-twiddle:
-
-	bl	bsp_reset
-	b	twiddle
-
 #endif /* defined(ARM_MULTILIB_ARCH_V7M) */
 
 	.set	bsp_start_vector_table_size, bsp_start_vector_table_end - bsp_start_vector_table_begin




More information about the vc mailing list