flash/nor: use default_flash_blank_check() instead of dummy 66/4766/2
authorTomas Vanek <vanekt@fbl.cz>
Thu, 15 Nov 2018 13:50:08 +0000 (14:50 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 5 Dec 2018 07:55:53 +0000 (07:55 +0000)
commit63fcef493ab23e6f00a8e815c4f59688a088d285
treeb16f258596e9be5f6f7c073b7a87b7d3182978e9
parent42f1cc576ab9b503fadd0b8916a139cd0bc6563e
flash/nor: use default_flash_blank_check() instead of dummy

Some flash drivers had a dummy method for erase_check.
Use default_flash_blank_check() instead if possible.

Change-Id: Iddfeff45ce477007328d061fcb5c553d93c3be98
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4766
Tested-by: jenkins
Reviewed-by: Christopher Head <chead@zaber.com>
src/flash/nor/at91sam3.c
src/flash/nor/lpc288x.c
src/flash/nor/ocl.c