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/flash/flash.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/flash/flash.h') diff --git a/src/flash/flash.h b/src/flash/flash.h index e2f78855..e7a79f8f 100644 --- a/src/flash/flash.h +++ b/src/flash/flash.h @@ -78,7 +78,8 @@ extern int flash_erase_address_range(target_t *target, u32 addr, u32 length); extern int flash_write(target_t *target, image_t *image, u32 *written, int erase); extern void flash_set_dirty(void); extern int flash_get_bank_count(); -int default_flash_blank_check(struct flash_bank_s *bank); +extern int default_flash_blank_check(struct flash_bank_s *bank); +extern int default_flash_mem_blank_check(struct flash_bank_s *bank); extern flash_bank_t *get_flash_bank_by_num(int num); extern flash_bank_t *get_flash_bank_by_num_noprobe(int num); -- cgit v1.2.3