summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-01-25 01:52:45 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-01-25 01:52:45 +0000
commit10e091bd30db44c5984be4d8699bef537d90ccc7 (patch)
tree3e1e3dbaded4423aa4b593f4e73a50c608f67fb8 /flash.h
parente5dd6e6cd5591bbfa52aca05edf5fcff8dbd4f7b (diff)
downloadflashrom-10e091bd30db44c5984be4d8699bef537d90ccc7.tar.gz
flashrom-10e091bd30db44c5984be4d8699bef537d90ccc7.tar.bz2
flashrom-10e091bd30db44c5984be4d8699bef537d90ccc7.zip
Add ids and chip entry for Spansion S25FL016A, tested, working
Corresponding to flashrom svn r187 and coreboot v2 svn r3074. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 048f7440f..dc30f717c 100644
--- a/flash.h
+++ b/flash.h
@@ -166,6 +166,14 @@ extern struct flashchip flashchips[];
#define SHARP_LHF00L04 0xCF
/*
+ * Spansion was previously a joint venture of AMD and Fujitsu.
+ * S25 chips are SPI. The first device ID byte is memory type and
+ * the second device ID byte is memory capacity.
+ */
+#define SPANSION_ID 0x01 /* Spansion */
+#define SPANSION_S25FL016A 0x0214
+
+/*
* SST25 chips are SPI, first byte of device ID is memory type, second
* byte of device ID is related to log(bitsize) at least for some chips.
*/