summaryrefslogtreecommitdiff
path: root/util/flashrom/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/spi.h')
-rw-r--r--util/flashrom/spi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/flashrom/spi.h b/util/flashrom/spi.h
index 25ce29774d..d3d9805775 100644
--- a/util/flashrom/spi.h
+++ b/util/flashrom/spi.h
@@ -29,6 +29,11 @@
#define JEDEC_RDID_OUTSIZE 0x01
#define JEDEC_RDID_INSIZE 0x03
+/* AT25F512A has bit 3 as don't care bit in commands */
+#define AT25F512A_RDID 0x15
+#define AT25F512A_RDID_OUTSIZE 0x01
+#define AT25F512A_RDID_INSIZE 0x02
+
/* Read Electronic Manufacturer Signature */
#define JEDEC_REMS 0x90
#define JEDEC_REMS_OUTSIZE 0x04