summaryrefslogtreecommitdiffstats
path: root/chipdrivers.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-06-20 11:02:33 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-06-20 11:02:33 +0000
commit3a25fea9e7726109df0c09aaacefb446ab1a9d0d (patch)
tree7e0d39872f7c96eec1cc3be521eb99b33ac91fd2 /chipdrivers.h
parent1b0ba893529cf93ae54b91607d93d3ad49c259e5 (diff)
downloadast2050-flashrom-3a25fea9e7726109df0c09aaacefb446ab1a9d0d.zip
ast2050-flashrom-3a25fea9e7726109df0c09aaacefb446ab1a9d0d.tar.gz
The SPI opcode 0xd8 is not a chip erase opcode on any chip out there
Besides that, the function as implemented just walks the chip and ignores sector sizes. Sector erase with SPI opcode 0xd8 is of course still supported. Kill a declaration for a nonexisting function while we're at it. Corresponding to flashrom svn r1054. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index 7339e2d..aeee095 100644
--- a/chipdrivers.h
+++ b/chipdrivers.h
@@ -35,8 +35,6 @@ int spi_write_enable(void);
int spi_write_disable(void);
int spi_chip_erase_60(struct flashchip *flash);
int spi_chip_erase_c7(struct flashchip *flash);
-int spi_chip_erase_60_c7(struct flashchip *flash);
-int spi_chip_erase_d8(struct flashchip *flash);
int spi_block_erase_20(struct flashchip *flash, unsigned int addr, unsigned int blocklen);
int spi_block_erase_52(struct flashchip *flash, unsigned int addr, unsigned int blocklen);
int spi_block_erase_d7(struct flashchip *flash, unsigned int addr, unsigned int blocklen);
OpenPOWER on IntegriCloud