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 --- it87spi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'it87spi.c') diff --git a/it87spi.c b/it87spi.c index 69d10a6..cf3d3b9 100644 --- a/it87spi.c +++ b/it87spi.c @@ -344,7 +344,6 @@ int it8716f_spi_chip_write_256(struct flashchip *flash, uint8_t *buf, int start, spi_chip_write_1_new(flash, buf, start, len); } else { int lenhere; - spi_disable_blockprotect(); if (start % 256) { /* start to the end of the page or start + len, -- cgit v1.1