diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-29 15:04:05 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-29 15:04:05 +0000 |
commit | 9530a02212bd48aca32752250c4e2ec91e24d3b6 (patch) | |
tree | 26d266ad7941e4efd06a21ac44daba46e1281ab4 /pony_spi.c | |
parent | 6ee37e28365f2a8ea498d03b08def0dcb1cc6494 (diff) | |
download | flashrom-9530a02212bd48aca32752250c4e2ec91e24d3b6.tar.gz flashrom-9530a02212bd48aca32752250c4e2ec91e24d3b6.tar.bz2 flashrom-9530a02212bd48aca32752250c4e2ec91e24d3b6.zip |
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>
Diffstat (limited to 'pony_spi.c')
0 files changed, 0 insertions, 0 deletions