From fb93c849cd69d846e9ef1dbc4cfc47f70d5dc7ad Mon Sep 17 00:00:00 2001 From: Heesub Shin Date: Wed, 26 Apr 2017 19:07:42 +0900 Subject: [PATCH] s5j: drop to support S5J_DEBUG_BREAK S5J_DEBUG_BREAK is a dirty hack that was invented to make the target fall into the infinite loop at boot. It is convenient for us to be able to hold the target before attaching the debugger. However, we can get the same result in other various ways. It looks dirty. Let's drop it. Change-Id: Ia5b30517c03571debd0432d1b24d43590d8d17ae Signed-off-by: Heesub Shin --- os/arch/arm/src/s5j/Kconfig | 5 ----- os/arch/arm/src/s5j/s5j_boot.c | 4 ---- 2 files changed, 9 deletions(-) diff --git a/os/arch/arm/src/s5j/Kconfig b/os/arch/arm/src/s5j/Kconfig index c074d38..eedfbd8 100644 --- a/os/arch/arm/src/s5j/Kconfig +++ b/os/arch/arm/src/s5j/Kconfig @@ -268,8 +268,3 @@ config S5J_PWR_SLEEP endmenu endmenu - -config S5J_DEBUG_BREAK - bool "S5J debug break on boot process" - help - this enable break during booting, on s5j_boot.c before os_start() diff --git a/os/arch/arm/src/s5j/s5j_boot.c b/os/arch/arm/src/s5j/s5j_boot.c index 2975656..f392d5c 100644 --- a/os/arch/arm/src/s5j/s5j_boot.c +++ b/os/arch/arm/src/s5j/s5j_boot.c @@ -148,10 +148,6 @@ int s5j_mpu_initialize(void) void arm_boot(void) { -#ifdef CONFIG_S5J_DEBUG_BREAK - __asm__ __volatile__("b ."); -#endif - up_copyvectorblock(); /* Disable the watchdog timer */ -- 2.7.4