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/+/63906
to review the following change.
Change subject: flashchips: Add Macronix MX25V8035F ......................................................................
flashchips: Add Macronix MX25V8035F
Change-Id: Icaf19910703c5322054c92dda9d27d34c6678526 Signed-off-by: Roman Stingler roman.stingler@gmail.com Signed-off-by: Felix Singer felixsinger@posteo.net --- M flashchips.c 1 file changed, 42 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/06/63906/1
diff --git a/flashchips.c b/flashchips.c index 0a1d21d..5a599e6 100644 --- a/flashchips.c +++ b/flashchips.c @@ -9652,6 +9652,48 @@ .voltage = {1650, 2000}, },
+ + { + .vendor = "Macronix", + .name = "MX25V8035F", + .bustype = BUS_SPI, + .manufacture_id = MACRONIX_ID, + .model_id = MACRONIX_MX25V8035F, + .total_size = 1024, + .page_size = 256, + /* OTP: 512B total; enter 0xB1, exit 0xC1 */ + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, + .tested = TEST_UNTESTED, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 256} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {32 * 1024, 32} }, + .block_erase = spi_block_erase_52, + }, { + .eraseblocks = { {64 * 1024, 16} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {1024 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {1024 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + /* TODO: security register */ + .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */ + .unlock = spi_disable_blockprotect_bp3_srwd, + .write = spi_chip_write_256, + .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */ + .voltage = {2300, 3600}, + }, + + { .vendor = "Macronix", .name = "MX29F001B",