summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flashchips.c31
-rw-r--r--flashchips.h1
2 files changed, 32 insertions, 0 deletions
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
/*
OpenPOWER on IntegriCloud