summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-06-14 12:58:06 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-06-14 12:58:06 +0000
commitc2d431b59b779320e4529ab75940efd1a9d62c42 (patch)
tree454a220d829c26740a071a97fb3ea24f1d450cae /flashchips.c
parentc6bf9a0061d7825df9802d0790c8a636717c2dd3 (diff)
downloadflashrom-c2d431b59b779320e4529ab75940efd1a9d62c42.zip
flashrom-c2d431b59b779320e4529ab75940efd1a9d62c42.tar.gz
Add SST25LF040A support
Checked against datasheets, should work. Corresponding to flashrom svn r1045. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index a82c373..b5b289a 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3840,6 +3840,34 @@ struct flashchip flashchips[] = {
{
.vendor = "SST",
+ .name = "SST25LF040A.RES",
+ .bustype = CHIP_BUSTYPE_SPI,
+ .manufacture_id = SST_ID,
+ .model_id = SST_25VF040_REMS,
+ .total_size = 512,
+ .page_size = 256,
+ .tested = TEST_OK_PROBE,
+ .probe = probe_spi_res2,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 128} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {32 * 1024, 16} },
+ .block_erase = spi_block_erase_52,
+ }, {
+ .eraseblocks = { {512 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ },
+ },
+ .write = spi_chip_write_1,
+ .read = spi_chip_read,
+ },
+
+ {
+ .vendor = "SST",
.name = "SST25VF040B.REMS",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = SST_ID,
OpenPOWER on IntegriCloud