aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2013-08-02 13:01:03 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-09-08 16:12:41 +0000
commit32ac9c0144f7aa7233b941bf78139eef8332fbc2 (patch)
tree5565c0b83cc6aa587a0218f95a3fbbaaf475011b
parent854a11422124bd1a417729f0cbfd40737a06d164 (diff)
target: remove unimplemented target_request_data implementations
Change-Id: Ia9afa83752d17f0f56bdf3bd81f5c69d108aa5e9 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1537 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
-rw-r--r--src/target/arm11.c11
-rw-r--r--src/target/avr32_ap7k.c2
-rw-r--r--src/target/avrt.c2
-rw-r--r--src/target/cortex_a.c4
-rw-r--r--src/target/dsp563xx.c2
-rw-r--r--src/target/dsp5680xx.c2
-rw-r--r--src/target/mips_m4k.c2
-rw-r--r--src/target/xscale.c2
8 files changed, 0 insertions, 27 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c
index 416471d8..61f1f64e 100644
--- a/src/target/arm11.c
+++ b/src/target/arm11.c
@@ -363,15 +363,6 @@ static int arm11_arch_state(struct target *target)
return retval;
}
-/* target request support */
-static int arm11_target_request_data(struct target *target,
- uint32_t size, uint8_t *buffer)
-{
- LOG_WARNING("Not implemented: %s", __func__);
-
- return ERROR_FAIL;
-}
-
/* target execution control */
static int arm11_halt(struct target *target)
{
@@ -1333,8 +1324,6 @@ struct target_type arm11_target = {
.poll = arm11_poll,
.arch_state = arm11_arch_state,
- .target_request_data = arm11_target_request_data,
-
.halt = arm11_halt,
.resume = arm11_resume,
.step = arm11_step,
diff --git a/src/target/avr32_ap7k.c b/src/target/avr32_ap7k.c
index 1e9fcbfc..12bea667 100644
--- a/src/target/avr32_ap7k.c
+++ b/src/target/avr32_ap7k.c
@@ -599,8 +599,6 @@ struct target_type avr32_ap7k_target = {
.poll = avr32_ap7k_poll,
.arch_state = avr32_ap7k_arch_state,
- .target_request_data = NULL,
-
.halt = avr32_ap7k_halt,
.resume = avr32_ap7k_resume,
.step = avr32_ap7k_step,
diff --git a/src/target/avrt.c b/src/target/avrt.c
index 48727082..a4ce46b7 100644
--- a/src/target/avrt.c
+++ b/src/target/avrt.c
@@ -55,8 +55,6 @@ struct target_type avr_target = {
.poll = avr_poll,
.arch_state = avr_arch_state,
- .target_request_data = NULL,
-
.halt = avr_halt,
.resume = avr_resume,
.step = avr_step,
diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index c91da3bc..4649f6c7 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -2764,8 +2764,6 @@ struct target_type cortexa8_target = {
.poll = cortex_a8_poll,
.arch_state = armv7a_arch_state,
- .target_request_data = NULL,
-
.halt = cortex_a8_halt,
.resume = cortex_a8_resume,
.step = cortex_a8_step,
@@ -2843,8 +2841,6 @@ struct target_type cortexr4_target = {
.poll = cortex_a8_poll,
.arch_state = armv7a_arch_state,
- .target_request_data = NULL,
-
.halt = cortex_a8_halt,
.resume = cortex_a8_resume,
.step = cortex_a8_step,
diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c
index 813975b6..97348e45 100644
--- a/src/target/dsp563xx.c
+++ b/src/target/dsp563xx.c
@@ -2312,8 +2312,6 @@ struct target_type dsp563xx_target = {
.poll = dsp563xx_poll,
.arch_state = dsp563xx_arch_state,
- .target_request_data = NULL,
-
.get_gdb_reg_list = dsp563xx_get_gdb_reg_list,
.halt = dsp563xx_halt,
diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c
index ee409472..1563b645 100644
--- a/src/target/dsp5680xx.c
+++ b/src/target/dsp5680xx.c
@@ -2278,8 +2278,6 @@ struct target_type dsp5680xx_target = {
.poll = dsp5680xx_poll,
.arch_state = dsp5680xx_arch_state,
- .target_request_data = NULL,
-
.halt = dsp5680xx_halt,
.resume = dsp5680xx_resume,
.step = dsp5680xx_step,
diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c
index 1cded6b4..f4fd7d33 100644
--- a/src/target/mips_m4k.c
+++ b/src/target/mips_m4k.c
@@ -1384,8 +1384,6 @@ struct target_type mips_m4k_target = {
.poll = mips_m4k_poll,
.arch_state = mips32_arch_state,
- .target_request_data = NULL,
-
.halt = mips_m4k_halt,
.resume = mips_m4k_resume,
.step = mips_m4k_step,
diff --git a/src/target/xscale.c b/src/target/xscale.c
index 120988ca..3371a65d 100644
--- a/src/target/xscale.c
+++ b/src/target/xscale.c
@@ -3713,8 +3713,6 @@ struct target_type xscale_target = {
.poll = xscale_poll,
.arch_state = xscale_arch_state,
- .target_request_data = NULL,
-
.halt = xscale_halt,
.resume = xscale_resume,
.step = xscale_step,