This is an automated email from Gerrit.

Spencer Oliver (s...@spen-soft.co.uk) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/515

-- gerrit

commit cff95acd47360f346a6bb913c35c3efe95bc4872
Author: Spencer Oliver <s...@spen-soft.co.uk>
Date:   Tue Mar 13 15:32:29 2012 +0000

    target: remove unused declaration
    
    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 <s...@spen-soft.co.uk>

diff --git a/src/target/arm7_9_common.h b/src/target/arm7_9_common.h
index 6f1b51f..0e706a7 100644
--- a/src/target/arm7_9_common.h
+++ b/src/target/arm7_9_common.h
@@ -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,
diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c
index 625065c..5ab120f 100644
--- a/src/target/cortex_m.c
+++ b/src/target/cortex_m.c
@@ -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;
 
diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c
index aa9dbe7..623d55e 100644
--- a/src/target/mips_m4k.c
+++ b/src/target/mips_m4k.c
@@ -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;
 

-- 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to