From 810ac7ed4bd94bcebaeb9f38b1657184e177ffbe Mon Sep 17 00:00:00 2001 From: hailfinger Date: Wed, 14 Jul 2010 20:21:22 +0000 Subject: We have a generic unlocking infrastructure. Use it for SPI chips. Actually check if the unlock worked instead of just assuming it worked. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1082 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- ft2232_spi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ft2232_spi.c') diff --git a/ft2232_spi.c b/ft2232_spi.c index ee8515f..c8711e9 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -290,7 +290,6 @@ int ft2232_spi_read(struct flashchip *flash, uint8_t *buf, int start, int len) int ft2232_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.2.1