riscv-openocd/src/flash
Paul Fertser 607edefb53 flash: nor: mdr: do not mass erase when clearing INFO memory
The MDR parts have two kinds of memory: main (regular memory-mapped
memory for code and data) and "info" (not memory-mapped). When OpenOCD
is requested to erase the info memory block, it should do just that,
instead of erasing everything including main memory.

Change-Id: I498142ca50d4a7b669b7776180b0dbcea63a5328
Reported-by: Eldar Khayrullin <eldar.khayrullin@mail.ru>
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3853
Tested-by: jenkins
Reviewed-by: Eldar Khayrullin <eldar.khayrullin@mail.ru>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2016-11-04 22:04:58 +00:00
..
nand Tcl commands: Fix improper return status in flash commands and load_image. 2016-11-04 21:21:15 +00:00
nor flash: nor: mdr: do not mass erase when clearing INFO memory 2016-11-04 22:04:58 +00:00
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
common.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mflash.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
mflash.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00