summaryrefslogtreecommitdiff
path: root/util/flashrom/spi.h
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-11-28 23:47:55 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2008-11-28 23:47:55 +0000
commit8b30d5d298b53f7015e63096652f69cf4edcff07 (patch)
tree7e16f400f6e8d8abc0de36f9003ffd6f3881b81d /util/flashrom/spi.h
parentf86f1fe961f661a0c892bdd6de94007cc1466c01 (diff)
downloadcoreboot-8b30d5d298b53f7015e63096652f69cf4edcff07.tar.xz
Declare special commands to support the Atmel AT25F512A.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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