summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-01-07 13:48:51 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-01-07 13:48:51 +0000
commitf9aa3a89506f294f5ca51889b038a098da228410 (patch)
tree3b96a695ac595189be5bf7e9b73b28573f6cafc5
parent8484d5a0a38b2b1c60b50c7bd938457ea2c314c5 (diff)
downloadast2050-flashrom-f9aa3a89506f294f5ca51889b038a098da228410.zip
ast2050-flashrom-f9aa3a89506f294f5ca51889b038a098da228410.tar.gz
Add support for the SST25VF040B 4 Mbit SPI flash chip
Straight from the data sheet, not tested. Corresponding to flashrom svn r175 and coreboot v2 svn r3036. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
-rw-r--r--flashchips.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 0430ca7..8197ce8 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -52,6 +52,8 @@ struct flashchip flashchips[] = {
probe_29f002, erase_29f002, write_29f002},
{"MX25L4005", MX_ID, MX_25L4005, 512, 256,
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write},
+ {"SST25VF040B", SST_ID, SST_25VF040B, 512, 256,
+ probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write},
{"SST25VF016B", SST_ID, SST_25VF016B, 2048, 256,
probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write},
{"SST29EE020A", SST_ID, SST_29EE020A, 256, 128,
OpenPOWER on IntegriCloud