diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/flashrom/flash.h | 8 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 048f7440f0..dc30f717cf 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -166,6 +166,14 @@ extern struct flashchip flashchips[]; #define SHARP_LHF00L04 0xCF /* + * Spansion was previously a joint venture of AMD and Fujitsu. + * S25 chips are SPI. The first device ID byte is memory type and + * the second device ID byte is memory capacity. + */ +#define SPANSION_ID 0x01 /* Spansion */ +#define SPANSION_S25FL016A 0x0214 + +/* * SST25 chips are SPI, first byte of device ID is memory type, second * byte of device ID is related to log(bitsize) at least for some chips. */ diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index 99bc08646c..964591ff50 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -56,6 +56,8 @@ struct flashchip flashchips[] = { probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read}, {"MX25L3205", MX_ID, MX_25L3205, 4096, 256, probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read}, + {"S25FL016A", SPANSION_ID, SPANSION_S25FL016A, 2048, 256, + probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read}, {"SST25VF040B", SST_ID, SST_25VF040B, 512, 256, probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read}, {"SST25VF016B", SST_ID, SST_25VF016B, 2048, 256, |