diff --git a/flashchips.c b/flashchips.c index 1d53c823b5a07b710c38933f8afa229db172d90d..8e90d2aa2651eceda54c22f25377126bd72679a0 100644 --- a/flashchips.c +++ b/flashchips.c @@ -3283,6 +3283,32 @@ struct flashchip flashchips[] = { .read = read_memmapped, }, + { + .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", diff --git a/flashchips.h b/flashchips.h index 19ff7459e8fb7caa6290cabc76313f89c17c05bf..2a4d93b605a26ea7aa6c66679ae9fcb78060ffb5 100644 --- a/flashchips.h +++ b/flashchips.h @@ -365,6 +365,7 @@ * the second device ID byte is memory capacity. */ #define SPANSION_ID 0x01 /* Spansion, same ID as AMD */ +#define SPANSION_S25FL008A 0x0213 #define SPANSION_S25FL016A 0x0214 /*