diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-14 20:21:22 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-14 20:21:22 +0000 |
commit | 29a1c66a23bc8685f456d548361b735bf36dcf2b (patch) | |
tree | 963d487fa71ce4b6ad998d89fde9e167ce11e6bb /spi.c | |
parent | ca812d40d461e70a70df6079978e96642775e7b2 (diff) | |
download | flashrom-29a1c66a23bc8685f456d548361b735bf36dcf2b.tar.gz flashrom-29a1c66a23bc8685f456d548361b735bf36dcf2b.tar.bz2 flashrom-29a1c66a23bc8685f456d548361b735bf36dcf2b.zip |
Use generic unlocking infrastructure for SPI chips
Actually check if the unlock worked instead of just assuming it worked.
Corresponding to flashrom svn r1082.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -217,7 +217,6 @@ int spi_chip_write_256(struct flashchip *flash, uint8_t *buf) { int ret; - spi_disable_blockprotect(); msg_pinfo("Erasing flash before programming... "); if (erase_flash(flash)) { msg_perr("ERASE FAILED!\n"); |