summaryrefslogtreecommitdiffstats
path: root/flashchips.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-03-04 01:20:28 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-03-04 01:20:28 +0000
commitc54adc5852fe9b96127506ca4602aa19eb607fe9 (patch)
tree2460dd695cd9e65d036f3d9c636fc1353106e1a5 /flashchips.h
parent50d67aaa79441e8043aa1de32bb40ae94fcc51b2 (diff)
downloadast2050-flashrom-c54adc5852fe9b96127506ca4602aa19eb607fe9.zip
ast2050-flashrom-c54adc5852fe9b96127506ca4602aa19eb607fe9.tar.gz
Add M25P20-old
This older (ST-branded) revision of M25P20 chip does not support RDID and hence was not detected correctly. This patch adds a workaround similar to M25P40-old. Corresponding to flashrom svn r1652. Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.h')
-rw-r--r--flashchips.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flashchips.h b/flashchips.h
index 1a0696f..c4c72ba 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -572,6 +572,7 @@
#define ST_M25P10A 0x2011
#define ST_M25P10_RES 0x10 /* Same code as M25P05. */
#define ST_M25P20 0x2012
+#define ST_M25P20_RES 0x11
#define ST_M25P40 0x2013
#define ST_M25P40_RES 0x12
#define ST_M25P80 0x2014
OpenPOWER on IntegriCloud