summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorEd Swierk <eswierk@aristanetworks.com>2010-07-21 15:02:22 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-07-21 15:02:22 +0000
commit86f4e6db2c953cf9070a4180fb5773434393e426 (patch)
tree2acf13dbff407eadf1c9753118bd4ead7d2016cd /flashchips.c
parente7fdd6e9a17129da53b8f4104b58899b5a011458 (diff)
downloadast2050-flashrom-86f4e6db2c953cf9070a4180fb5773434393e426.zip
ast2050-flashrom-86f4e6db2c953cf9070a4180fb5773434393e426.tar.gz
Add support for the SST25VF064C SPI flash chip
Corresponding to flashrom svn r1094. Signed-off-by: Ed Swierk <eswierk@aristanetworks.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 368db41..3842170 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3971,6 +3971,41 @@ struct flashchip flashchips[] = {
{
.vendor = "SST",
+ .name = "SST25VF064C",
+ .bustype = CHIP_BUSTYPE_SPI,
+ .manufacture_id = SST_ID,
+ .model_id = SST_25VF064C,
+ .total_size = 8192,
+ .page_size = 256,
+ .tested = TEST_OK_PREW,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 2048} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {32 * 1024, 256} },
+ .block_erase = spi_block_erase_52,
+ }, {
+ .eraseblocks = { {64 * 1024, 128} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {8 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {8 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ },
+ },
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_1,
+ .read = spi_chip_read,
+ },
+
+ {
+ .vendor = "SST",
.name = "SST25VF040.REMS",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = SST_ID,
OpenPOWER on IntegriCloud