Attention is currently required from: roman.stingler@gmail.com. Hello roman.stingler@gmail.com,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/flashrom/+/63910
to review the following change.
Change subject: flashchips: Add IS25WQ040 ......................................................................
flashchips: Add IS25WQ040
Change-Id: I6f188e006bda415221c571c6aa9cfece649e572f Signed-off-by: Roman Stingler roman.stingler@gmail.com Signed-off-by: Felix Singer felixsinger@posteo.net --- M flashchips.c M flashchips.h 2 files changed, 43 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/10/63910/1
diff --git a/flashchips.c b/flashchips.c index 0a1d21d..ac1e986 100644 --- a/flashchips.c +++ b/flashchips.c @@ -7687,6 +7687,48 @@
{ .vendor = "ISSI", + .name = "IS25WQ040", + .bustype = BUS_SPI, + .manufacture_id = ISSI_ID_SPI, + .model_id = ISSI_IS25WQ040, + .total_size = 4096, + .page_size = 256, + /* OTP: 1024B total; read 0x48; write 0x42 */ + /* QPI enable 0x35, disable 0xF5 */ + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, + .tested = TEST_OK_PREW, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 1024} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {4 * 1024, 1024} }, + .block_erase = spi_block_erase_d7, + }, { + .eraseblocks = { {32 * 1024, 128} }, + .block_erase = spi_block_erase_52, + }, { + .eraseblocks = { {64 * 1024, 64} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {4 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {4 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .unlock = spi_disable_blockprotect, + .write = spi_chip_write_256, + .read = spi_chip_read, + .voltage = {1650, 1950}, + }, + + { + .vendor = "ISSI", .name = "IS29GL064B", .bustype = BUS_PARALLEL, .manufacture_id = ISSI_ID, diff --git a/flashchips.h b/flashchips.h index ba97719..cd1ae43 100644 --- a/flashchips.h +++ b/flashchips.h @@ -479,6 +479,7 @@ #define ISSI_IS25WP064 0x7017 #define ISSI_IS25WP128 0x7018 #define ISSI_IS25WP256 0x7019 +#define ISSI_IS25WQ040 0x1253 #define ISSI_PMC_IS29GL032B 0xF9 #define ISSI_PMC_IS29GL032T 0xF6 #define ISSI_PMC_IS29GL064B 0x7E1000