From f6ca415998f44aaafc49560aea602c3e8ad10d17 Mon Sep 17 00:00:00 2001 From: stefanct Date: Fri, 21 Sep 2012 12:46:56 +0000 Subject: Add spi_block_erase_62. This is used by the AT25F series (only?), but is generic enough to reside in spi25.c. The only currently supported chip is the AT25F512B. Other members of that series need some additional infrastructure code, hence this patch adds the erase function to the AT25F512B only. Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1600 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- spi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'spi.h') diff --git a/spi.h b/spi.h index a57f1b6..ce2ede8 100644 --- a/spi.h +++ b/spi.h @@ -66,6 +66,11 @@ #define JEDEC_CE_60_OUTSIZE 0x01 #define JEDEC_CE_60_INSIZE 0x00 +/* Chip Erase 0x62 is supported by Atmel AT25F chips. */ +#define JEDEC_CE_62 0x62 +#define JEDEC_CE_62_OUTSIZE 0x01 +#define JEDEC_CE_62_INSIZE 0x00 + /* Chip Erase 0xc7 is supported by SST/ST/EON/Macronix chips. */ #define JEDEC_CE_C7 0xc7 #define JEDEC_CE_C7_OUTSIZE 0x01 -- cgit v1.2.1