Skip to content
Snippets Groups Projects
Commit 607edefb authored by Paul Fertser's avatar Paul Fertser Committed by Freddie Chopin
Browse files

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: default avatarEldar Khayrullin <eldar.khayrullin@mail.ru>
Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3853


Tested-by: jenkins
Reviewed-by: default avatarEldar Khayrullin <eldar.khayrullin@mail.ru>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent 09253ffd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment