From 8b30d5d298b53f7015e63096652f69cf4edcff07 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/spi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util') 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 -- cgit v1.2.3