target: remove unimplemented target_request_data implementations 37/1537/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Fri, 2 Aug 2013 12:01:03 +0000 (13:01 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sun, 8 Sep 2013 16:12:41 +0000 (16:12 +0000)
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>
src/target/arm11.c
src/target/avr32_ap7k.c
src/target/avrt.c
src/target/cortex_a.c
src/target/dsp563xx.c
src/target/dsp5680xx.c
src/target/mips_m4k.c
src/target/xscale.c

index 416471d..61f1f64 100644 (file)
@@ -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,
index 1e9fcbf..12bea66 100644 (file)
@@ -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,
index 4872708..a4ce46b 100644 (file)
@@ -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,
index c91da3b..4649f6c 100644 (file)
@@ -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,
index 813975b..97348e4 100644 (file)
@@ -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,
index ee40947..1563b64 100644 (file)
@@ -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,
index 1cded6b..f4fd7d3 100644 (file)
@@ -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,
index 120988c..3371a65 100644 (file)
@@ -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,