openocd/src/flash
Andreas Färber 2d5f2ede55 flash/nor: Add PSoC 5LP flash driver
Always probe for ECC mode and display ECC sectors if disabled.
Non-ECC write is implemented as zeroing the ECC/config bytes.
Erasing ECC sectors is ignored, erase-checking takes them into account.

Tested with CY8CKIT-059 (CY8C5888), except ECC mode.

Change-Id: If63b9ffca7ad8de038be3c086c49712b629ec554
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Reviewed-on: http://openocd.zylin.com/3432
Tested-by: jenkins
2018-06-06 15:48:33 +01:00
..
nand Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
nor flash/nor: Add PSoC 5LP flash driver 2018-06-06 15:48:33 +01:00
common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
common.h flash/nor: at91samd protection bits write fix 2016-12-08 12:19:19 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
mflash.c Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
mflash.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl flash/startup: make program accept filenames with spaces and other characters 2018-01-13 08:43:26 +00:00