NOR: make flash_write_unlock() pad to sector end
commit155a6a2c0bacdd4752e944ffd579d441361883db
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 27 Dec 2009 19:34:31 +0000 (27 11:34 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 27 Dec 2009 19:34:31 +0000 (27 11:34 -0800)
tree4aa42c95a50a6e9fe5a018d6532c5ec04eebc6ff
parent84dbf8ab5a2e85c9d9c9d276fba152a45a441433
NOR: make flash_write_unlock() pad to sector end

Resolve a regression when using newish automagic "write_image"
modes, by always padding to the end of affected sectors.

Also document some issues associated with those automagic options,
in the User's Guide and also some related code comments.

We might need similar padding at the *beginning* of some sectors,
but this is a minimalist fix for the problems which have currently
been reported (plus doc updates).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
doc/openocd.texi
src/flash/nor/core.c