Nick: GNUtoo || cure E-mail: GNUtoo@no-log.org || ward@fsf.org Board: Lenovo x60 Contents: diff --git a/flashchips.c b/flashchips.c index 16726ad..ad1c857 100644 --- a/flashchips.c +++ b/flashchips.c @@ -7346,6 +7346,48 @@ const struct flashchip flashchips[] = { .name = "SST25VF016B", .bustype = BUS_SPI, .manufacture_id = SST_ID, + .model_id = SST_SST25VF016B_REMS, + .total_size = 2048, + .page_size = 256, + .feature_bits = FEATURE_WRSR_EITHER, + .tested = TEST_OK_PREW, + .probe = probe_spi_res2, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 512} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {32 * 1024, 64} }, + .block_erase = spi_block_erase_52, + }, { + .eraseblocks = { {64 * 1024, 32} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {2 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {2 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + }, + }, + .printlock = spi_prettyprint_status_register_sst25vf016, + .unlock = spi_disable_blockprotect, +#if 1 + .write = spi_aai_write, +#else + .write = spi_chip_write_1, +#endif + .read = spi_chip_read, + .voltage = {2700, 3600}, + }, + + { + .vendor = "SST", + .name = "SST25VF016B", + .bustype = BUS_SPI, + .manufacture_id = SST_ID, .model_id = SST_SST25VF016B, .total_size = 2048, .page_size = 256, diff --git a/flashchips.h b/flashchips.h index 4eebc95..53b025b 100644 --- a/flashchips.h +++ b/flashchips.h @@ -518,6 +518,7 @@ #define SST_SST25VF080B 0x258E #define SST_SST25VF080B_REMS 0x8E /* REMS or RES opcode */ #define SST_SST25VF016B 0x2541 +#define SST_SST25VF016B_REMS 0x41 #define SST_SST25VF032B 0x254A #define SST_SST25VF032B_REMS 0x4A /* REMS or RES opcode */ #define SST_SST25VF064C 0x254B