diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2013-08-02 12:14:37 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-09-08 16:12:20 +0000 |
commit | 9e02c99d7b2eba0988ab17a9af8b95b5fe065c5e (patch) | |
tree | 17f6f25e8a18bfe528b04ded31433a1912f6cc6f /src/target/avrt.c | |
parent | e1d2abc9ca53d983716ac9dcc481b8130d8e5ca2 (diff) |
target: remove unimplemented soft_reset_halt implementations
Let the default handler issue an unsupported warning rather than using
empty handler routines that may/may not issue a unsupported warning.
Change-Id: Iafe3e45146981a4cfae39771c3ab7370ac86da48
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1535
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Hsiangkai Wang <hsiangkai@gmail.com>
Diffstat (limited to 'src/target/avrt.c')
-rw-r--r-- | src/target/avrt.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/target/avrt.c b/src/target/avrt.c index 4f959e3c..48727082 100644 --- a/src/target/avrt.c +++ b/src/target/avrt.c @@ -42,7 +42,6 @@ static int avr_step(struct target *target, int current, uint32_t address, static int avr_assert_reset(struct target *target); static int avr_deassert_reset(struct target *target); -static int avr_soft_reset_halt(struct target *target); /* IR and DR functions */ static int mcu_write_ir(struct jtag_tap *tap, uint8_t *ir_in, uint8_t *ir_out, int ir_len, int rti); @@ -64,7 +63,6 @@ struct target_type avr_target = { .assert_reset = avr_assert_reset, .deassert_reset = avr_deassert_reset, - .soft_reset_halt = avr_soft_reset_halt, /* .get_gdb_reg_list = avr_get_gdb_reg_list, @@ -151,12 +149,6 @@ static int avr_deassert_reset(struct target *target) return ERROR_OK; } -static int avr_soft_reset_halt(struct target *target) -{ - LOG_DEBUG("%s", __func__); - return ERROR_OK; -} - int avr_jtag_senddat(struct jtag_tap *tap, uint32_t* dr_in, uint32_t dr_out, int len) { |