aboutsummaryrefslogtreecommitdiff
path: root/src/target/dsp563xx.c
diff options
context:
space:
mode:
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>2013-03-08 01:17:18 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-03-15 15:56:25 +0000
commit4315142ea0d7035fe117b9e344beaf98c91ee35c (patch)
tree5a03b598d18b1d875a3942bbabf60e541cae1ee5 /src/target/dsp563xx.c
parent13288a44bee0aa26067cb51c262b82a12b61699f (diff)
target: Add default implementation of bulk_write_memory
Remove dummy implementations from all targets except arm7_9 and mips, which are the only ones with real implementations. Replace with a single default implementation simply calling target_write_memory(). Change-Id: I9228104240bc0b50661be20bc7909713ccda2164 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/1213 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/dsp563xx.c')
-rw-r--r--src/target/dsp563xx.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c
index 1d703eeb..b9c8b4dc 100644
--- a/src/target/dsp563xx.c
+++ b/src/target/dsp563xx.c
@@ -1814,15 +1814,6 @@ static int dsp563xx_write_buffer_default(struct target *target,
buffer);
}
-static int dsp563xx_bulk_write_memory_default(struct target *target,
- uint32_t address,
- uint32_t count,
- const uint8_t *buffer)
-{
- return dsp563xx_write_memory(target,
- dsp563xx_get_default_memory(), address, 4, count, buffer);
-}
-
static int dsp563xx_add_breakpoint(struct target *target, struct breakpoint *breakpoint)
{
return ERROR_OK;
@@ -2055,7 +2046,6 @@ struct target_type dsp563xx_target = {
.read_memory = dsp563xx_read_memory_default,
.write_memory = dsp563xx_write_memory_default,
- .bulk_write_memory = dsp563xx_bulk_write_memory_default,
.read_buffer = dsp563xx_read_buffer_default,
.write_buffer = dsp563xx_write_buffer_default,