diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-05-10 10:33:07 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-05-14 09:38:26 +0000 |
commit | f9ea791e9b89bed91200f27202f9a95dd4e8640b (patch) | |
tree | eee39a2c2db3a5be84edf3ea50bbf7cbe2ac2806 /src/flash/nor/core.h | |
parent | e85845150532528b2996f828b108de81340c029e (diff) |
flash: blank check use default_flash_blank_check
Use default_flash_blank_check, this will use the much faster
blank_check_memory handler if supported - 15x quicker on stm32f4.
Otherwise it will fall back to using the slower default_flash_mem_blank_check.
Change-Id: Ia231b3e95468c9e92594dbdbe1fa2d69e1506fc3
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/632
Tested-by: jenkins
Diffstat (limited to 'src/flash/nor/core.h')
-rw-r--r-- | src/flash/nor/core.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h index 90f4e614..3b6b2b5f 100644 --- a/src/flash/nor/core.h +++ b/src/flash/nor/core.h @@ -152,13 +152,6 @@ int default_flash_read(struct flash_bank *bank, * @returns ERROR_OK if successful; otherwise, an error code. */ int default_flash_blank_check(struct flash_bank *bank); -/** - * Provides a default blank flash memory check. Ensures the contents - * of the given bank have truly been erased. - * @param bank The flash bank. - * @returns ERROR_OK if successful; otherwise, an error code. - */ -int default_flash_mem_blank_check(struct flash_bank *bank); /** * Returns the flash bank specified by @a name, which matches the |