]> git.sur5r.net Git - openocd/commitdiff
target: remove unimplemented target_request_data implementations
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 416471d82c72fd377baac8caf6efe743d68fc8e2..61f1f64e16700b0ba91fa2b0063b37f5be94c86f 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 1e9fcbfc44e393ea6a7879a19995598fb04c38ce..12bea667574301b92733767e7e9416b0c7c941fa 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 48727082a2faf02528d54605315cdec06d07cd71..a4ce46b78a2c911070491f2af011096e97b59ebf 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 c91da3bc7d731ec68d073ba5b661e0e668c8052b..4649f6c7da544f9ee5f77e00c075b6e8a3a99b47 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 813975b6ca472b4051c72c10c587c849afaa6414..97348e45f0cea90bd0db62721904d308ac1b8394 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 ee40947289cca70c80778fe09b2c88efb115881d..1563b6458583e161ad0a76dd785cfda0af4006e2 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 1cded6b4f668991c118a72ebb2d7231146b9f164..f4fd7d333cff3c78e16a55cb6c292a1393e285cf 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 120988caee6fe6f2fbf1b6ac8578a6e2fef2601b..3371a65d3e3926d45dd56c821368ea059c47b0f6 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,