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 | e13b5f377a59e6d6a72dc88acf2a13ad4fde7be8 (patch) | |
tree | 963d487fa71ce4b6ad998d89fde9e167ce11e6bb /bitbang_spi.c | |
parent | adc0cb17ec1343c3743e19da60c0cd1f7375ec41 (diff) | |
download | flashrom-e13b5f377a59e6d6a72dc88acf2a13ad4fde7be8.zip flashrom-e13b5f377a59e6d6a72dc88acf2a13ad4fde7be8.tar.gz |
We have a generic unlocking infrastructure
Use it 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 'bitbang_spi.c')
-rw-r--r-- | bitbang_spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbang_spi.c b/bitbang_spi.c index adb1038..446be11 100644 --- a/bitbang_spi.c +++ b/bitbang_spi.c @@ -141,6 +141,5 @@ int bitbang_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len) int bitbang_spi_write_256(struct flashchip *flash, uint8_t *buf, int start, int len) { - spi_disable_blockprotect(); return spi_write_chunked(flash, buf, start, len, 256); } |