Thomas Walker has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/52310 )
Change subject: Added support for Spansion/Cypress chip S25FL256L. ......................................................................
Added support for Spansion/Cypress chip S25FL256L.
Testing has been conducted on ~60 individual chips and confirmed as working.
Signed-off-by: Thomas Walker thh.walker@gmail.com Change-Id: I4e8cba554d0590c94dac92aa91e9ab400efca281 --- M flashchips.c M flashchips.h 2 files changed, 30 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/10/52310/1
diff --git a/flashchips.c b/flashchips.c index 5b328f8..1f5b8ad 100644 --- a/flashchips.c +++ b/flashchips.c @@ -16376,6 +16376,35 @@ .voltage = {2700, 3600}, },
+ { + .vendor = "Spansion", + .name = "S25FL256L", + .bustype = BUS_SPI, + .manufacture_id = SPANSION_ID, + .model_id = SPANSION_S25FL256L, + .total_size = 32768, + .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN|FEATURE_4BA, + .tested = TEST_OK_PREW, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {64 * 1024, 0x200} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {512 * 1024, 0x200} }, + .block_erase = spi_block_erase_c7, + } + }, + .printlock = spi_prettyprint_status_register_plain, + .unlock = spi_disable_blockprotect, + .write = spi_chip_write_256, + .read = spi_chip_read, + .voltage = {2700, 3600}, + }, + { .vendor = "Spansion", .name = "S25FL204K", diff --git a/flashchips.h b/flashchips.h index 2ad09df..6fae9c6 100644 --- a/flashchips.h +++ b/flashchips.h @@ -666,6 +666,7 @@ #define SPANSION_S25FL116K 0x4015 #define SPANSION_S25FL132K 0x4016 #define SPANSION_S25FL164K 0x4017 +#define SPANSION_S25FL256L 0x6019 #define SPANSION_S25FS128S_L 0x20180081 /* Large sectors. */ #define SPANSION_S25FS128S_S 0x20180181 /* Small sectors. */ #define SPANSION_S25FS256S_L 0x02190081 /* Large sectors. */