summaryrefslogtreecommitdiffstats
path: root/spi.h
diff options
context:
space:
mode:
authorNikolay Nikolaev <evrinoma@gmail.com>2013-06-28 21:29:51 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-06-28 21:29:51 +0000
commit6f59b0bc5124f47294e261bb20924f9a8e505d89 (patch)
tree4fb4121d32185587067e5d50723ec879d56b8dbe /spi.h
parentc80c4a35a0d4eb51c142fc53ee4ae6d82f4dc37a (diff)
downloadast2050-flashrom-6f59b0bc5124f47294e261bb20924f9a8e505d89.zip
ast2050-flashrom-6f59b0bc5124f47294e261bb20924f9a8e505d89.tar.gz
Add support for remaining Numonyx (Micron) N25Q chips
Add... - N25Q128..3E - N25Q128..1E - N25Q256..1E (defunct due to addressing) - N25Q256..3E (defunct due to addressing) - N25Q512..1E (defunct due to addressing) - N25Q512..3E (defunct due to addressing) - N25Q00A..3G (defunct due to addressing) Also, refine existing family members. Corresponding to flashrom svn r1693. Signed-off-by: Nikolay Nikolaev <evrinoma@gmail.com> Reviewed-by: Steven Zakulec <spzakulec@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'spi.h')
-rw-r--r--spi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/spi.h b/spi.h
index 9e38e74..de5b3be 100644
--- a/spi.h
+++ b/spi.h
@@ -91,6 +91,11 @@
#define JEDEC_BE_81_OUTSIZE 0x04
#define JEDEC_BE_81_INSIZE 0x00
+/* Block Erase 0xc4 is supported by Micron chips. */
+#define JEDEC_BE_C4 0xc4
+#define JEDEC_BE_C4_OUTSIZE 0x04
+#define JEDEC_BE_C4_INSIZE 0x00
+
/* Block Erase 0xd8 is supported by EON/Macronix chips. */
#define JEDEC_BE_D8 0xd8
#define JEDEC_BE_D8_OUTSIZE 0x04
OpenPOWER on IntegriCloud