openocd/src/flash/nor
Tomas Vanek a088e39423 flash/nor/core: fix warning in flash_iterate_address_range_inner
Refactor the code to improve readability.

Reported by Clang static analyzer.

Change-Id: I671447050e93c6f067917c4456b36ac11abb4663
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4355
Tested-by: jenkins
2018-03-03 09:41:25 +00:00
..
aduc702x.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
aducm360.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
ambiqmicro.c flash/nor: Add Ambiq Micro Apollo flash driver. 2016-05-14 12:18:31 +01:00
at91sam3.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
at91sam4.c flash/nor/at91sam4: remove FWS=6, rename at91samg to atsamg 2017-06-17 11:56:54 +01:00
at91sam4l.c flash at91samd, at91sam4l: fix improper use of mem_ap_ call 2016-11-05 10:35:19 +00:00
at91sam7.c flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
at91samd.c flash/nor/at91samd: add SAM R30 family 2018-02-14 08:26:14 +00:00
ath79.c flash: nor: ath79: fix build failure due to recent MIPS changes 2017-06-02 20:20:26 +01:00
atsamv.c atsamv: Support for ATSAMS70N19 Memory Configuration 2016-10-30 20:21:53 +00:00
avrf.c flash/nor: avrf: support atmega128rfa1 2017-02-13 17:42:36 +00:00
cfi.c mips32, add support for micromips in debug mode 2017-05-08 18:03:28 +01:00
cfi.h cfi: Add support for strangely endianness broken SoC implementations 2016-06-23 07:39:57 +01:00
core.c flash/nor/core: fix warning in flash_iterate_address_range_inner 2018-03-03 09:41:25 +00:00
core.h flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
drivers.c Add support for Cypress PSoC6 family of devices 2018-02-14 08:27:30 +00:00
dsp5680xx_flash.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
efm32.c efm32: Refactor EFM32 chip family data, add more chips 2018-02-14 08:27:57 +00:00
em357.c Added 512K flashing support for em3587 2017-04-24 22:32:24 +01:00
faux.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
fm3.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
fm4.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
imp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
jtagspi.c flash: nor: jtagspi: fix jtagspi_read_status() warning 2018-01-30 07:36:51 +00:00
kinetis_ke.c flash/nor/kinetis_ke: fix warning retval set but not used 2018-02-04 21:44:27 +00:00
kinetis.c flash Kinetis: add K27 and K28 devices 2018-01-25 16:40:58 +00:00
lpc288x.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
lpc2000.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
lpc2900.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
lpcspifi.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
Makefile.am Add support for Cypress PSoC6 family of devices 2018-02-14 08:27:30 +00:00
mdr.c flash: nor: mdr: do not mass erase when clearing INFO memory 2016-11-04 22:04:58 +00:00
mrvlqspi.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
niietcm4.c Make OpenOCD build using -Og. 2016-11-04 21:10:30 +00:00
non_cfi.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
non_cfi.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nrf5.c nor/nrf5: added nrf51822 QFAAH2 2018-01-26 22:38:27 +00:00
numicro.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
ocl.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
ocl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
pic32mx.c mips32, pic32 use uint8_t in 8 bit scan function 2017-04-24 23:06:54 +01:00
psoc4.c flash/nor/psoc4: adjust flash size limited by wounding 2018-03-03 09:40:34 +00:00
psoc6.c Add support for Cypress PSoC6 family of devices 2018-02-14 08:27:30 +00:00
sim3x.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
spi.c spi: add n25q256 flash 2017-12-06 21:06:00 +00:00
spi.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
stellaris.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
stm32f1x.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
stm32f2x.c flash/nor/stm32f2x: fix erase on STM32F413/423 2017-12-12 21:16:24 +00:00
stm32h7x.c flash: Add new stm32h7x driver support 2017-12-06 21:29:10 +00:00
stm32l4x.c flash: nor: stm32l4x: fix warning in probe 2018-01-25 07:22:57 +00:00
stm32lx.c stm32lx.c: Read IDcode at appropriate address. 2017-10-03 11:25:27 +01:00
stmsmi.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
str7x.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
str9x.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
str9xpec.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
tcl.c flash/nor/tcl: Make read_bank parameters optional 2017-06-17 12:45:56 +01:00
tms470.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
virtual.c flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
xcf.c XCF (Xilinx platfrom flash) support. 2018-01-13 09:13:14 +00:00
xmc1xxx.c target: Add 64-bit target address support 2017-02-10 13:50:17 +01:00
xmc4xxx.c Fix GCC7 warnings about string truncation 2017-10-23 10:54:24 +01:00