From 32ac9c0144f7aa7233b941bf78139eef8332fbc2 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Fri, 2 Aug 2013 13:01:03 +0100 Subject: [PATCH] target: remove unimplemented target_request_data implementations Change-Id: Ia9afa83752d17f0f56bdf3bd81f5c69d108aa5e9 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1537 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- src/target/arm11.c | 11 ----------- src/target/avr32_ap7k.c | 2 -- src/target/avrt.c | 2 -- src/target/cortex_a.c | 4 ---- src/target/dsp563xx.c | 2 -- src/target/dsp5680xx.c | 2 -- src/target/mips_m4k.c | 2 -- src/target/xscale.c | 2 -- 8 files changed, 27 deletions(-) diff --git a/src/target/arm11.c b/src/target/arm11.c index 416471d82..61f1f64e1 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 1e9fcbfc4..12bea6675 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 48727082a..a4ce46b78 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 c91da3bc7..4649f6c7d 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 813975b6c..97348e45f 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 ee4094728..1563b6458 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 1cded6b4f..f4fd7d333 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 120988cae..3371a65d3 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,