Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/63909 )
Change subject: flashchips: Add support for BrightMoon T25S40 ......................................................................
flashchips: Add support for BrightMoon T25S40
Change-Id: Ia47e015aca092c2886703fdce1ff793246e1fc24 Signed-off-by: René Treffer treffer@measite.de Signed-off-by: Felix Singer felixsinger@posteo.net --- M flashchips.c 1 file changed, 38 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/09/63909/1
diff --git a/flashchips.c b/flashchips.c index 0a1d21d..8162db1 100644 --- a/flashchips.c +++ b/flashchips.c @@ -3594,6 +3594,44 @@ },
{ + .vendor = "BrightMoon", + .name = "T25S40", + .bustype = BUS_SPI, + .manufacture_id = 0x5e, + .model_id = 0x2013, + .total_size = 512, + .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, + .tested = TEST_OK_PREW, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 128} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {32 * 1024, 16} }, + .block_erase = spi_block_erase_52, + }, { + .eraseblocks = { {64 * 1024, 8} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {512 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {512 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .printlock = spi_prettyprint_status_register_bp3_srwd, + .unlock = spi_disable_blockprotect_bp3_srwd, + .write = spi_chip_write_256, + .read = spi_chip_read, /* Fast read (0x0B), dual I/O read (0x3B) supported */ + .voltage = {2700, 3600}, + }, + + { .vendor = "Catalyst", .name = "CAT28F512", .bustype = BUS_PARALLEL,