From 5c2f920cc792d40f449cf596b5729671d0414fa1 Mon Sep 17 00:00:00 2001 From: Andreas Fritiofson Date: Mon, 11 Mar 2013 22:21:13 +0100 Subject: [RFC] target: Move bulk_write_memory to arm7_9 The only remaining user is arm7_9 so remove it from the target API and add it to struct arm7_9_common to support all its variants with minimal changes. Many of the variants are likely not correct in the cache/mmu handling when the bulk write is triggered. This patch does nothing to change that, except for arm946e, where it was easier to do what might be the right thing. Change-Id: Ie73ac07507ff0936fefdb90760046cc8810ed182 Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/1220 Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/target/arm966e.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/target/arm966e.c') diff --git a/src/target/arm966e.c b/src/target/arm966e.c index 39653c2e..6a96ab18 100644 --- a/src/target/arm966e.c +++ b/src/target/arm966e.c @@ -264,8 +264,7 @@ struct target_type arm966e_target = { .get_gdb_reg_list = arm_get_gdb_reg_list, .read_memory = arm7_9_read_memory, - .write_memory = arm7_9_write_memory, - .bulk_write_memory = arm7_9_bulk_write_memory, + .write_memory = arm7_9_write_memory_opt, .checksum_memory = arm_checksum_memory, .blank_check_memory = arm_blank_check_memory, -- cgit v1.2.3-18-g5258