openocd/src/flash
David Brownell 3f18900b19 NOR FLASH: only erase/unlock whole sectors
Much to my surprise, I observed a "flash erase_address ..."
command erasing data which I said should not be erased.

The issue turns out to be generic NOR flash code which was
silently, and rather dangerously, morphing partial-sector
references into unrequested whole-sector ones.

This patch removes that low-level morphing.  If desired, it
can and should be done in higher level code.  (We might need
to fix some stuff in the GDB server code.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-12-18 10:16:52 -08:00
..
nand NAND write data page refactoring. 2009-12-18 01:33:19 -08:00
nor NOR FLASH: only erase/unlock whole sectors 2009-12-18 10:16:52 -08:00
ocl/at91sam7x change #include "ocl.h" to <flash/nor/ocl.h> 2009-12-03 04:24:49 -08:00
Makefile.am build: add build/src to include path 2009-12-08 10:16:10 +01:00
common.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
common.h split NOR and NAND flash headers 2009-12-04 16:56:23 -08:00
mflash.c misc code review updates 2009-12-05 14:40:06 -08:00
mflash.h #include "target.h" less wildly 2009-11-16 00:35:24 -08:00
startup.tcl add 'flash list', rewrite 'flash banks' 2009-12-06 21:39:35 -08:00