From 938e01d0c3ff4fedf1629cc1c1928af1c90882e9 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Tue, 27 May 2008 21:23:47 +0000 Subject: - moved flash erase_check target code to target.c git-svn-id: svn://svn.berlios.de/openocd/trunk@694 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/target/target.h') 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!!!!! * -- cgit v1.2.3