]> git.sur5r.net Git - openocd/commit
Make it easier to erase or protect through to the end
authordbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 22 Sep 2009 05:39:06 +0000 (05:39 +0000)
committerdbrownell <dbrownell@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 22 Sep 2009 05:39:06 +0000 (05:39 +0000)
commit50b94628aec9b94e2aa6d326c48c896c718d7e46
tree7666f34f6e61d330f69fa69c4a85e44f2b6d30a3
parent6cba4863563c2dabe9abc2b23e02f6ace1941d03
Make it easier to erase or protect through to the end
of a (NOR) flash chip: allow passing "last" as an alias
for the number of the last sector.

Improve several aspects of error checking while we're at it.

From: Johnny Halfmoon <jhalfmoon@milksnot.com>

git-svn-id: svn://svn.berlios.de/openocd/trunk@2746 b42882b7-edfa-0310-969c-e2dbd0fdcd60
doc/openocd.texi
src/flash/flash.c