summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-05-27 21:23:47 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-05-27 21:23:47 +0000
commit938e01d0c3ff4fedf1629cc1c1928af1c90882e9 (patch)
treec496c2db7f863657643ff3bfb6db3a0bf7659310 /src/target/target.h
parent506ca886c4d89aabcffab2dfa6736dfcfc1396c5 (diff)
downloadopenocd_libswd-938e01d0c3ff4fedf1629cc1c1928af1c90882e9.tar.gz
openocd_libswd-938e01d0c3ff4fedf1629cc1c1928af1c90882e9.tar.bz2
openocd_libswd-938e01d0c3ff4fedf1629cc1c1928af1c90882e9.tar.xz
openocd_libswd-938e01d0c3ff4fedf1629cc1c1928af1c90882e9.zip
- moved flash erase_check target code to target.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@694 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index dd70170d..17ac94a5 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -159,6 +159,7 @@ typedef struct target_type_s
int (*bulk_write_memory)(struct target_s *target, u32 address, u32 count, u8 *buffer);
int (*checksum_memory)(struct target_s *target, u32 address, u32 count, u32* checksum);
+ int (*blank_check_memory)(struct target_s *target, u32 address, u32 count, u32* blank);
/* target break-/watchpoint control
* rw: 0 = write, 1 = read, 2 = access
@@ -283,6 +284,7 @@ extern target_t* get_target_by_num(int num);
extern int target_write_buffer(struct target_s *target, u32 address, u32 size, u8 *buffer);
extern int target_read_buffer(struct target_s *target, u32 address, u32 size, u8 *buffer);
extern int target_checksum_memory(struct target_s *target, u32 address, u32 size, u32* crc);
+extern int target_blank_check_memory(struct target_s *target, u32 address, u32 size, u32* blank);
/* DANGER!!!!!
*