diff options
author | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-06-19 22:06:35 +0000 |
---|---|---|
committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-06-19 22:06:35 +0000 |
commit | 80a59ea2d56c57490692ba76fc1b5dc71a2dc97a (patch) | |
tree | 2748ad2273a040ee61dc2c274e222a615019a628 | |
parent | 02d0c1e4d0045c9d0874e0e2ea8f1c450a32989e (diff) | |
download | flashrom-80a59ea2d56c57490692ba76fc1b5dc71a2dc97a.tar.gz flashrom-80a59ea2d56c57490692ba76fc1b5dc71a2dc97a.tar.bz2 flashrom-80a59ea2d56c57490692ba76fc1b5dc71a2dc97a.zip |
Add EMST F25L008A SPI chip
Corresponding to flashrom svn r1050.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Sean Nelson <audiohacked@gmail.com>
-rw-r--r-- | flashchips.c | 31 | ||||
-rw-r--r-- | flashchips.h | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c index b5b289a0c..b324feb00 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 a04edef7b..9bcf62328 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 /* |