]> git.sur5r.net Git - openocd/commitdiff
target: remove unused declaration
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 13 Mar 2012 15:32:29 +0000 (15:32 +0000)
committerPeter Stuge <peter@stuge.se>
Tue, 13 Mar 2012 16:32:09 +0000 (16:32 +0000)
arm7_9_prepare_reset_halt is long since gone and the functionality
is implemented in the target's assert_reset handler.

Change-Id: Ib03c730cb39d68e5e3bb42f92af13daf8074e4e2
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/515
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
src/target/arm7_9_common.h
src/target/cortex_m.c
src/target/mips_m4k.c

index 6f1b51f919bbf458230adc08cbb0e7bf9f1709c3..0e706a75a2a899fac7cf1fd8ffda0ba945eb3910 100644 (file)
@@ -141,7 +141,6 @@ int arm7_9_deassert_reset(struct target *target);
 int arm7_9_reset_request_halt(struct target *target);
 int arm7_9_early_halt(struct target *target);
 int arm7_9_soft_reset_halt(struct target *target);
-int arm7_9_prepare_reset_halt(struct target *target);
 
 int arm7_9_halt(struct target *target);
 int arm7_9_resume(struct target *target, int current, uint32_t address,
index 625065c57957e876e9eecb8227b564b8f9771555..5ab120f272b13e0565462584e4894295bf3fe5cc 100644 (file)
@@ -609,7 +609,7 @@ static int cortex_m3_halt(struct target *target)
                        return ERROR_TARGET_FAILURE;
                } else {
                        /* we came here in a reset_halt or reset_init sequence
-                        * debug entry was already prepared in cortex_m3_prepare_reset_halt()
+                        * debug entry was already prepared in cortex_m3_assert_reset()
                         */
                        target->debug_reason = DBG_REASON_DBGRQ;
 
index aa9dbe7ad2732ad610c59e8225f6b7c699a0943a..623d55e0d8360e9dcabc25cf010324f8f34ae1a4 100644 (file)
@@ -191,7 +191,7 @@ static int mips_m4k_halt(struct target *target)
                        return ERROR_TARGET_FAILURE;
                } else {
                        /* we came here in a reset_halt or reset_init sequence
-                        * debug entry was already prepared in mips32_prepare_reset_halt()
+                        * debug entry was already prepared in mips_m4k_assert_reset()
                         */
                        target->debug_reason = DBG_REASON_DBGRQ;