diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-05-27 21:23:47 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-05-27 21:23:47 +0000 |
commit | 938e01d0c3ff4fedf1629cc1c1928af1c90882e9 (patch) | |
tree | c496c2db7f863657643ff3bfb6db3a0bf7659310 /src/target/target.h | |
parent | 506ca886c4d89aabcffab2dfa6736dfcfc1396c5 (diff) |
- 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.h | 2 |
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!!!!! * |