diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2007-12-16 21:15:27 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2007-12-16 21:15:27 +0000 |
commit | f5df46f6c697b7b79faec25c5b2919b328f67fc0 (patch) | |
tree | 4d59e9d65c99f3ebdffa0aea47487716421dd459 /flashchips.c | |
parent | 4bcf1751908fa3177de87b43c5b0837074e3bb8e (diff) | |
download | ast2050-flashrom-f5df46f6c697b7b79faec25c5b2919b328f67fc0.zip ast2050-flashrom-f5df46f6c697b7b79faec25c5b2919b328f67fc0.tar.gz |
Add support for ST M25P80 chips
Detection was tested. Print status register before erase to help
debugging block locks.
Corresponding to flashrom svn r164 and coreboot v2 svn r3008.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c index 72d5619..41ae1b1 100644 --- a/flashchips.c +++ b/flashchips.c @@ -140,6 +140,8 @@ struct flashchip flashchips[] = { probe_jedec, erase_chip_jedec, write_jedec}, {"M29F040B", ST_ID, ST_M29F040B, 512, 64 * 1024, probe_29f040b, erase_29f040b, write_29f040b}, + {"M25P80", ST_ID, ST_M25P80, 1024, 64 * 1024, + probe_spi, generic_spi_chip_erase, generic_spi_chip_write}, {"82802ab", 137, 173, 512, 64 * 1024, probe_82802ab, erase_82802ab, write_82802ab}, {"82802ac", 137, 172, 1024, 64 * 1024, |