commit | 9530a02212bd48aca32752250c4e2ec91e24d3b6 | [log] [tgz] |
---|---|---|
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | Sat Dec 29 15:04:05 2012 +0000 |
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | Sat Dec 29 15:04:05 2012 +0000 |
tree | 26d266ad7941e4efd06a21ac44daba46e1281ab4 | |
parent | 6ee37e28365f2a8ea498d03b08def0dcb1cc6494 [diff] |
Add a generic SPI block unprotect function This does not only remove a huge pile of duplicate code, it does also fix a bug in spi_disable_blockprotect_at25df(), which is also a good example why duplicated code is a bad idea. Corresponding to flashrom svn r1635. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>