openocd/src/flash/nor
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
..
aduc702x.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
aducm360.c flash: Analog Devices ADuCM360 support 2015-09-30 22:12:16 +01:00
at91sam3.c flash/nor/at91sam3: remove sam3_page_write_opcodes 2014-04-08 11:34:53 +00:00
at91sam4.c at91sam4 Flash: Added identification of atsam4n's 2016-02-29 19:39:19 +00:00
at91sam4l.c arm_adi_v5: Remove all mem_ap_sel_* functions 2015-12-29 20:31:19 +00:00
at91sam7.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
at91samd.c at91samd: Add additional "B Variant" parts from SAMD21 family 2016-05-05 07:59:14 +01:00
atsamv.c flash: driver for Atmel SAMV, SAMS, and SAME 2015-11-10 20:27:09 +00:00
avrf.c atmega: add support for the at90usb128 flash 2015-03-09 06:25:52 +00:00
cfi.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
cfi.h cfi: support for 16-bit flash with reversed endianness 2016-02-13 23:09:40 +00:00
core.c fix flash bank auto_probe() fail with multiple targets 2013-12-17 23:04:01 +00:00
core.h flash: add padded_value cmd 2013-10-07 19:28:19 +00:00
driver.h flash: Constify write buffer 2014-03-17 12:47:18 +00:00
drivers.c flash/nor: Add Infineon XMC1000 flash driver 2016-05-05 07:50:59 +01:00
dsp5680xx_flash.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
efm32.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
em357.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
faux.c flash/nor/faux.c: fixing check for failed malloc 2016-02-29 19:14:24 +00:00
fm3.c flash: constify driver data structures 2014-10-06 11:57:32 +00:00
fm4.c fm4: Set read callback 2016-05-05 22:34:59 +01:00
imp.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
jtagspi.c flash/nor/jtagspi: 'retval' may be used uninitialized 2015-08-19 21:35:10 +01:00
kinetis_ke.c flash: Added support for Freescale Kinetis KE family. 2016-05-04 22:32:23 +01:00
kinetis.c flash Kinetis: new KVx family added 2016-05-05 07:35:31 +01:00
lpc288x.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
lpc2000.c flash/nor/lpc2000: add alternative part ID for LPC1343 2015-11-26 12:17:54 +00:00
lpc2900.c helper/fileio: Remove nested struct 2016-02-29 21:04:47 +00:00
lpcspifi.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
Makefile.am flash/nor: Add Infineon XMC1000 flash driver 2016-05-05 07:50:59 +01:00
mdr.c flash: nor: mdr: implement read/verify for Info memory 2016-02-29 20:13:27 +00:00
mrvlqspi.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
niietcm4.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
non_cfi.c flash/nor/non_cfi.c: cleanup, member double-intialization 2016-02-29 19:09:32 +00:00
non_cfi.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
nrf51.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
numicro.c numicro: Integrate Nuvoton NuMicro flash driver. 2015-09-30 22:12:39 +01:00
ocl.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
ocl.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
pic32mx.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
psoc4.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
sim3x.c arm_adi_v5: dap_queue_ap_* DAP->AP parameter 2015-12-29 20:32:41 +00:00
spi.c flash/nor/spi: reorder to group micron devices 2016-02-13 22:57:54 +00:00
spi.h flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
stellaris.c flash/nor/stellaris: fix: flash info RCC and RCC2 mixed up 2016-02-29 19:09:50 +00:00
stm32f1x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
stm32f2x.c stm32f2x.c: Add more F4 devices. 2016-05-04 22:57:55 +01:00
stm32l4x.c stm32l4x.c: Correct waiting for data. 2016-05-04 22:55:22 +01:00
stm32lx.c stm32lx: Add support for lock/unlock (RDP Level 0<->1) 2016-05-04 23:11:30 +01:00
stmsmi.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
str7x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
str9x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
str9xpec.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
tcl.c helper/fileio: Remove nested struct 2016-02-29 21:04:47 +00:00
tms470.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
virtual.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
xmc1xxx.c flash/nor: Add Infineon XMC1000 flash driver 2016-05-05 07:50:59 +01:00
xmc4xxx.c xmc4xxx: Fix error propagation for erase_check callback 2016-05-05 22:40:29 +01:00