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
commit32961be12d6213bdbccc28afe887359a1e0b5d51 (patch)
treebcd535a1f032ade49c32e46ce82effe6d60326db /flashchips.h
parentf8555e24a456551de9ce3d89fc648db9034ef517 (diff)
downloadast2050-flashrom-32961be12d6213bdbccc28afe887359a1e0b5d51.zip
ast2050-flashrom-32961be12d6213bdbccc28afe887359a1e0b5d51.tar.gz
Add support for ST M25P05/M25P10 chips that only respond to RES and not RDID
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