aboutsummaryrefslogtreecommitdiff
path: root/src/target/avr32_ap7k.c
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2013-08-02 12:14:37 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-09-08 16:12:20 +0000
commit9e02c99d7b2eba0988ab17a9af8b95b5fe065c5e (patch)
tree17f6f25e8a18bfe528b04ded31433a1912f6cc6f /src/target/avr32_ap7k.c
parente1d2abc9ca53d983716ac9dcc481b8130d8e5ca2 (diff)
downloadriscv-openocd-9e02c99d7b2eba0988ab17a9af8b95b5fe065c5e.zip
riscv-openocd-9e02c99d7b2eba0988ab17a9af8b95b5fe065c5e.tar.gz
riscv-openocd-9e02c99d7b2eba0988ab17a9af8b95b5fe065c5e.tar.bz2
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/avr32_ap7k.c')
-rw-r--r--src/target/avr32_ap7k.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/target/avr32_ap7k.c b/src/target/avr32_ap7k.c
index 7c97234..1e9fcbf 100644
--- a/src/target/avr32_ap7k.c
+++ b/src/target/avr32_ap7k.c
@@ -313,13 +313,6 @@ static int avr32_ap7k_deassert_reset(struct target *target)
return ERROR_OK;
}
-static int avr32_ap7k_soft_reset_halt(struct target *target)
-{
- LOG_ERROR("%s: implement me", __func__);
-
- return ERROR_OK;
-}
-
static int avr32_ap7k_resume(struct target *target, int current,
uint32_t address, int handle_breakpoints, int debug_execution)
{
@@ -600,8 +593,6 @@ int avr32_ap7k_get_gdb_reg_list(struct target *target, struct reg **reg_list[],
return ERROR_FAIL;
}
-
-
struct target_type avr32_ap7k_target = {
.name = "avr32_ap7k",
@@ -616,7 +607,6 @@ struct target_type avr32_ap7k_target = {
.assert_reset = avr32_ap7k_assert_reset,
.deassert_reset = avr32_ap7k_deassert_reset,
- .soft_reset_halt = avr32_ap7k_soft_reset_halt,
.get_gdb_reg_list = avr32_ap7k_get_gdb_reg_list,