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 <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/515 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
parent
ed12a6521f
commit
7d1f9bafc7
|
@ -141,7 +141,6 @@ int arm7_9_deassert_reset(struct target *target);
|
||||||
int arm7_9_reset_request_halt(struct target *target);
|
int arm7_9_reset_request_halt(struct target *target);
|
||||||
int arm7_9_early_halt(struct target *target);
|
int arm7_9_early_halt(struct target *target);
|
||||||
int arm7_9_soft_reset_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_halt(struct target *target);
|
||||||
int arm7_9_resume(struct target *target, int current, uint32_t address,
|
int arm7_9_resume(struct target *target, int current, uint32_t address,
|
||||||
|
|
|
@ -609,7 +609,7 @@ static int cortex_m3_halt(struct target *target)
|
||||||
return ERROR_TARGET_FAILURE;
|
return ERROR_TARGET_FAILURE;
|
||||||
} else {
|
} else {
|
||||||
/* we came here in a reset_halt or reset_init sequence
|
/* 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;
|
target->debug_reason = DBG_REASON_DBGRQ;
|
||||||
|
|
||||||
|
|
|
@ -191,7 +191,7 @@ static int mips_m4k_halt(struct target *target)
|
||||||
return ERROR_TARGET_FAILURE;
|
return ERROR_TARGET_FAILURE;
|
||||||
} else {
|
} else {
|
||||||
/* we came here in a reset_halt or reset_init sequence
|
/* 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;
|
target->debug_reason = DBG_REASON_DBGRQ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue