From 80a59ea2d56c57490692ba76fc1b5dc71a2dc97a Mon Sep 17 00:00:00 2001 From: Michael Karcher Date: Sat, 19 Jun 2010 22:06:35 +0000 Subject: Add EMST F25L008A SPI chip Corresponding to flashrom svn r1050. Signed-off-by: Michael Karcher Acked-by: Sean Nelson --- flashchips.c | 31 +++++++++++++++++++++++++++++++ flashchips.h | 1 + 2 files changed, 32 insertions(+) diff --git a/flashchips.c b/flashchips.c index b5b289a..b324feb 100644 --- a/flashchips.c +++ b/flashchips.c @@ -1366,6 +1366,37 @@ struct flashchip flashchips[] = { }, { + .vendor = "EMST", + .name = "F25L008A", + .bustype = CHIP_BUSTYPE_SPI, + .manufacture_id = EMST_ID, + .model_id = EMST_F25L008A, + .total_size = 1024, + .page_size = 256, + .tested = TEST_UNTESTED, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 256} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {64 * 1024, 16} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {1024 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {1024 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .write = spi_aai_write, + .read = read_memmapped, + }, + + { .vendor = "Eon", .name = "EN25B05", .bustype = CHIP_BUSTYPE_SPI, diff --git a/flashchips.h b/flashchips.h index a04edef..9bcf623 100644 --- a/flashchips.h +++ b/flashchips.h @@ -151,6 +151,7 @@ #define CATALYST_ID 0x31 /* Catalyst */ #define EMST_ID 0x8C /* EMST / EFST Elite Flash Storage */ +#define EMST_F25L008A 0x2014 #define EMST_F49B002UA 0x00 /* -- cgit v1.1