tcl/str7x: Reset init unlocks the flash
commitcc440ca1d44f0aaaf34daa365966b7b092126913
authorEdgar Grimberg <edgar.grimberg@zylin.com>
Tue, 2 Feb 2010 12:17:26 +0000 (2 13:17 +0100)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 2 Feb 2010 17:30:33 +0000 (2 09:30 -0800)
treeea124b32e9b70016b2fd2ecacfcb6c63812f62eb
parent503f6139c7ed05339daea8c4984d32840d795222
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>
tcl/target/str730.cfg
tcl/target/str750.cfg