From 4315142ea0d7035fe117b9e344beaf98c91ee35c Mon Sep 17 00:00:00 2001 From: Andreas Fritiofson Date: Fri, 8 Mar 2013 01:17:18 +0100 Subject: target: Add default implementation of bulk_write_memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://openocd.zylin.com/1213 Tested-by: jenkins Reviewed-by: Øyvind Harboe Reviewed-by: Spencer Oliver --- src/target/avr32_ap7k.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/target/avr32_ap7k.c') diff --git a/src/target/avr32_ap7k.c b/src/target/avr32_ap7k.c index c8f0f8e..749bf30 100644 --- a/src/target/avr32_ap7k.c +++ b/src/target/avr32_ap7k.c @@ -566,15 +566,6 @@ static int avr32_ap7k_examine(struct target *target) return ERROR_OK; } -static int avr32_ap7k_bulk_write_memory(struct target *target, uint32_t address, - uint32_t count, const uint8_t *buffer) -{ - LOG_ERROR("%s: implement me", __func__); - - return ERROR_OK; -} - - int avr32_ap7k_arch_state(struct target *target) { struct avr32_ap7k_common *ap7k = target_to_ap7k(target); @@ -630,7 +621,6 @@ struct target_type avr32_ap7k_target = { .read_memory = avr32_ap7k_read_memory, .write_memory = avr32_ap7k_write_memory, - .bulk_write_memory = avr32_ap7k_bulk_write_memory, /* .checksum_memory = avr32_ap7k_checksum_memory, */ /* .blank_check_memory = avr32_ap7k_blank_check_memory, */ -- cgit v1.1