diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-05-12 14:25:31 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2008-05-12 14:25:31 +0000 |
commit | c95f2a737a78611bc366fb53010d90baf3be8efb (patch) | |
tree | 681ee4118e43f9c17258e35404a0834da32dad22 | |
parent | d0e687ac390dc56265b465eb2338c3f73822cd7c (diff) | |
download | coreboot-c95f2a737a78611bc366fb53010d90baf3be8efb.tar.xz |
Add SST39VF512, SST39VF010, SST39VF040 support to flashrom. The SST39LF
series has the same IDs.
Add short AMIC vendor ID to flashrom.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3299 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/flashrom/flash.h | 4 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 10ceaeef7b..da155edfc4 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -96,6 +96,7 @@ extern struct flashchip flashchips[]; #define AM_29F016D 0xAD #define AMIC_ID 0x7F37 /* AMIC */ +#define AMIC_ID_NOPREFIX 0x37 /* AMIC */ #define ASD_ID 0x25 /* ASD, not listed in JEP106W */ #define ASD_AE49F2008 0x52 @@ -226,7 +227,10 @@ extern struct flashchip flashchips[]; #define SST_39SF010 0xB5 #define SST_39SF020 0xB6 #define SST_39SF040 0xB7 +#define SST_39VF512 0xD4 +#define SST_39VF010 0xD5 #define SST_39VF020 0xD6 +#define SST_39VF040 0xD7 #define SST_49LF040B 0x50 #define SST_49LF040 0x51 #define SST_49LF020A 0x52 diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index 9dfa3f11b0..085a4a7ef5 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -73,7 +73,10 @@ struct flashchip flashchips[] = { {"SST", "SST39SF010A", SST_ID, SST_39SF010, 128, 4096, TEST_UNTESTED, probe_jedec, erase_chip_jedec, write_39sf020}, {"SST", "SST39SF020A", SST_ID, SST_39SF020, 256, 4096, TEST_UNTESTED, probe_jedec, erase_chip_jedec, write_39sf020}, {"SST", "SST39SF040", SST_ID, SST_39SF040, 512, 4096, TEST_UNTESTED, probe_jedec, erase_chip_jedec, write_39sf020}, + {"SST", "SST39VF512", SST_ID, SST_39VF512, 64, 4096, TEST_UNTESTED, probe_jedec, erase_chip_jedec, write_39sf020}, + {"SST", "SST39VF010", SST_ID, SST_39VF010, 128, 4096, TEST_UNTESTED, probe_jedec, erase_chip_jedec, write_39sf020}, {"SST", "SST39VF020", SST_ID, SST_39VF020, 256, 4096, TEST_UNTESTED, probe_jedec, erase_chip_jedec, write_39sf020}, + {"SST", "SST39VF040", SST_ID, SST_39VF040, 512, 4096, TEST_UNTESTED, probe_jedec, erase_chip_jedec, write_39sf020}, // assume similar to 004B, ignoring data sheet {"SST", "SST49LF002A/B", SST_ID, SST_49LF002A, 256, 16 * 1024, TEST_UNTESTED, probe_sst_fwhub, erase_sst_fwhub, write_sst_fwhub}, {"SST", "SST49LF003A/B", SST_ID, SST_49LF003A, 384, 64 * 1024, TEST_UNTESTED, probe_sst_fwhub, erase_sst_fwhub, write_sst_fwhub}, |