openocd/src/flash
Andreas Färber e03255e408 xmc4xxx: Fix error propagation for erase_check callback
If an error occurs during xmc4xxx_blank_check_memory() aka .erase_check,
it would break out of the loop over flash sectors and return ERROR_OK.

Instead return the error code so that tcl.c can notify the user.

Change-Id: Ie2c1b7933eef2b240b28f8a292634fbbf5b31706
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3425
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2016-05-05 22:40:29 +01:00
..
nand helper/fileio: Remove nested struct 2016-02-29 21:04:47 +00:00
nor xmc4xxx: Fix error propagation for erase_check callback 2016-05-05 22:40:29 +01:00
common.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
mflash.c helper/fileio: Remove nested struct 2016-02-29 21:04:47 +00:00
mflash.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
startup.tcl Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00