From 3b408fd23794c6d012be79173021e532d1b47ba6 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sun, 16 Dec 2007 21:15:27 +0000 Subject: Add support for ST M25P80 chips to flashrom. Detection was tested. Print status register before erase to help debugging block locks. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Corey Osgood git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3008 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/flashchips.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/flashrom/flashchips.c') diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index 72d56192fa..41ae1b1b51 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/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, -- cgit v1.2.3