]> git.sur5r.net Git - openocd/commit
flash: blank check use default_flash_blank_check
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 10 May 2012 09:33:07 +0000 (10:33 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 14 May 2012 09:38:26 +0000 (09:38 +0000)
commitf9ea791e9b89bed91200f27202f9a95dd4e8640b
treeeee39a2c2db3a5be84edf3ea50bbf7cbe2ac2806
parente85845150532528b2996f828b108de81340c029e
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
src/flash/nor/avrf.c
src/flash/nor/core.c
src/flash/nor/core.h
src/flash/nor/em357.c
src/flash/nor/fm3.c
src/flash/nor/pic32mx.c
src/flash/nor/stellaris.c
src/flash/nor/stm32f1x.c
src/flash/nor/stm32f2x.c