Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/63898 )
Change subject: flashchips.h: Add Spansion S25FL064L ......................................................................
flashchips.h: Add Spansion S25FL064L
Signed-off-by: Felix Singer felixsinger@posteo.net Change-Id: Icc4431749daf5621a8b35c70c60b6f02311516b5 --- M flashchips.c M flashchips.h 2 files changed, 30 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/98/63898/1
diff --git a/flashchips.c b/flashchips.c index 0a1d21d..7edc2c1 100644 --- a/flashchips.c +++ b/flashchips.c @@ -16069,6 +16069,35 @@
{ .vendor = "Spansion", + .name = "S25FL064L", + .bustype = BUS_SPI, + .manufacture_id = SPANSION_ID, + .model_id = SPANSION_S25FL064L, + .total_size = 8192, + .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, + .tested = TEST_OK_PREW, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {64 * 1024, 128} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {8 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ + .unlock = spi_disable_blockprotect, + .write = spi_chip_write_256, + .read = spi_chip_read, + .voltage = {2700, 3600}, + }, + + { + .vendor = "Spansion", .name = "S25FL116K/S25FL216K", /* FIXME: separate them */ .bustype = BUS_SPI, .manufacture_id = SPANSION_ID, diff --git a/flashchips.h b/flashchips.h index ba97719..b12bc55 100644 --- a/flashchips.h +++ b/flashchips.h @@ -659,6 +659,7 @@ #define SPANSION_S25FL016A 0x0214 #define SPANSION_S25FL032A 0x0215 /* Same as S25FL032P, but the latter supports EDI and CFI */ #define SPANSION_S25FL064A 0x0216 /* Same as S25FL064P, but the latter supports EDI and CFI */ +#define SPANSION_S25FL064L 0x6017 /* Inherited from Cypress Semiconductor */ #define SPANSION_S25FL128 0x2018 /* Same ID for various S25FL127S, S25FL128P, S25FL128S and S25FL129P (including dual-die S70FL256P) variants (EDI supported) */ #define SPANSION_S25FL256 0x0219 #define SPANSION_S25FL512 0x0220