summaryrefslogtreecommitdiffstats
path: root/flashchips.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-23 01:40:20 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-07-23 01:40:20 +0000
commit785ede988e5c8ab924da7607d6d0f2665aaabf28 (patch)
treebcd535a1f032ade49c32e46ce82effe6d60326db /flashchips.h
parent97bb2139063bea42532324e04de3f1285b7864cb (diff)
downloadflashrom-785ede988e5c8ab924da7607d6d0f2665aaabf28.zip
flashrom-785ede988e5c8ab924da7607d6d0f2665aaabf28.tar.gz
Add support for old ST M25P05/M25P10 chips which only respond to the RES command and not the RDID command
Unfortunately, either the datasheets are wrong or both chips have exactly the same ID. Corresponding to flashrom svn r662. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'flashchips.h')
-rw-r--r--flashchips.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/flashchips.h b/flashchips.h
index 0b58e50..0cd6895 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -322,7 +322,9 @@
*/
#define ST_ID 0x20 /* ST / SGS/Thomson */
#define ST_M25P05A 0x2010
+#define ST_M25P05_RES 0x10 /* Same code as M25P10. */
#define ST_M25P10A 0x2011
+#define ST_M25P10_RES 0x10 /* Same code as M25P05. */
#define ST_M25P20 0x2012
#define ST_M25P40 0x2013
#define ST_M25P40_RES 0x12
OpenPOWER on IntegriCloud