diff options
author | Edgar Grimberg <edgar.grimberg@zylin.com> | 2010-02-02 13:17:26 +0100 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-02-02 09:30:33 -0800 |
commit | cc440ca1d44f0aaaf34daa365966b7b092126913 (patch) | |
tree | ea124b32e9b70016b2fd2ecacfcb6c63812f62eb /tcl/target/c100config.tcl | |
parent | 503f6139c7ed05339daea8c4984d32840d795222 (diff) | |
download | openocd_libswd-cc440ca1d44f0aaaf34daa365966b7b092126913.tar.gz openocd_libswd-cc440ca1d44f0aaaf34daa365966b7b092126913.tar.bz2 openocd_libswd-cc440ca1d44f0aaaf34daa365966b7b092126913.tar.xz openocd_libswd-cc440ca1d44f0aaaf34daa365966b7b092126913.zip |
tcl/str7x: Reset init unlocks the flash
For STR7x flash, the device cannot be queried for the protect status.
The solution is to remove the protection on reset init. The driver
also initialises the sector protect field to unprotected.
[dbrownell@users.sourceforge.net: line length shrinkage]
Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl/target/c100config.tcl')
0 files changed, 0 insertions, 0 deletions