From 29a1c66a23bc8685f456d548361b735bf36dcf2b Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Wed, 14 Jul 2010 20:21:22 +0000 Subject: 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 Acked-by: Michael Karcher --- bitbang_spi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'bitbang_spi.c') 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); } -- cgit v1.1