[PATCH 1/3] bsps/arm: Simplify start.S

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 20 12:10:37 UTC 2018


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 e4df46f656..c43c81e14c 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
-- 
2.16.4



More information about the devel mailing list