From 0faf03e6475c6e2b7a695cbe92b3bfc4fe13b5c1 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Fri, 28 Nov 2008 23:47:55 +0000 Subject: Declare special commands to support the Atmel AT25F512A Corresponding to flashrom svn r353 and coreboot v2 svn r3781. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger --- spi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'spi.h') diff --git a/spi.h b/spi.h index 25ce297..d3d9805 100644 --- a/spi.h +++ b/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 -- cgit v1.1