summaryrefslogtreecommitdiffstats
path: root/flashchips.h
diff options
context:
space:
mode:
authorJernej Škrabec <jernej.skrabec@planet.si>2014-12-12 00:32:03 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-12-12 00:32:03 +0000
commite814a9b6e83deea2bbc9d287e8a9ee0a409a969e (patch)
tree538c50b664d4222baaf5880a2f998fc4b482a7c7 /flashchips.h
parentb5f9d5c40221e645fd3a5c2d7ece3e8df1330b04 (diff)
downloadast2050-flashrom-e814a9b6e83deea2bbc9d287e8a9ee0a409a969e.zip
ast2050-flashrom-e814a9b6e83deea2bbc9d287e8a9ee0a409a969e.tar.gz
Add support for Spansion S25FL127S
This flash chip can be configured (one time) to use 64 KiB or 256 KiB sectors. Additionally, in the 64 KiB mode it supports 16 4 KiB sub-sectors that can be (one time) programmed to be on the top or bottom of the device. The sub-sectors can be erased with the 0x20 opcode but because this opcode does not work with the remaining sectors and flashrom can not cope with that the 0x20 opcode is not supported yet. This patch adds two definitions, one for the 64 KiB and 256 KiB configuration respectively. The device also shares the RDID with the various S25FL128 devices so we have to increase the maximum number of successfully probed chips to 8. The 64 KiB mode was tested on real hardware. Corresponding to flashrom svn r1858. Signed-off-by: Jernej Škrabec <jernej.skrabec@planet.si> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.h')
-rw-r--r--flashchips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashchips.h b/flashchips.h
index fe8fc55..46de487 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -600,7 +600,7 @@
#define SPANSION_S25FL016A 0x0214
#define SPANSION_S25FL032A 0x0215 /* Same as S25FL032P, but the latter supports EDI and CFI */
#define SPANSION_S25FL064A 0x0216 /* Same as S25FL064P, but the latter supports EDI and CFI */
-#define SPANSION_S25FL128 0x2018 /* Same ID for various S25FL128P, S25FL128S and S25FL129P (including dual-die S70FL256P) variants (EDI supported) */
+#define SPANSION_S25FL128 0x2018 /* Same ID for various S25FL127S, S25FL128P, S25FL128S and S25FL129P (including dual-die S70FL256P) variants (EDI supported) */
#define SPANSION_S25FL256 0x0219
#define SPANSION_S25FL512 0x0220
#define SPANSION_S25FL204 0x4013
OpenPOWER on IntegriCloud