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 /sb600spi.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 'sb600spi.c')
-rw-r--r-- | sb600spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sb600spi.c b/sb600spi.c index 72181d1fd..caf1a9931 100644 --- a/sb600spi.c +++ b/sb600spi.c @@ -50,7 +50,6 @@ int sb600_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len) int sb600_spi_write_256(struct flashchip *flash, uint8_t *buf, int start, int len) { - spi_disable_blockprotect(); return spi_write_chunked(flash, buf, start, len, 5); } |