Author: hailfinger Date: 2008-11-29 00:47:55 +0100 (Sat, 29 Nov 2008) New Revision: 3781
Modified: trunk/util/flashrom/spi.h Log: Declare special commands to support the Atmel AT25F512A. Signed-off-by: Carl-Daniel Hailfinger <[EMAIL PROTECTED]> Acked-by: Carl-Daniel Hailfinger <[EMAIL PROTECTED]> Modified: trunk/util/flashrom/spi.h =================================================================== --- trunk/util/flashrom/spi.h 2008-11-28 23:45:27 UTC (rev 3780) +++ trunk/util/flashrom/spi.h 2008-11-28 23:47:55 UTC (rev 3781) @@ -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 -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

