aboutsummaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 1d53c823..8e90d2aa 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3285,6 +3285,32 @@ struct flashchip flashchips[] = {
{
.vendor = "Spansion",
+ .name = "S25FL008A",
+ .bustype = CHIP_BUSTYPE_SPI,
+ .manufacture_id = SPANSION_ID,
+ .model_id = SPANSION_S25FL008A,
+ .total_size = 1024,
+ .page_size = 256,
+ .tested = TEST_OK_PREW,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .erase = NULL,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {64 * 1024, 16} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ },
+
+ {
+ .vendor = "Spansion",
.name = "S25FL016A",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = SPANSION_ID,