Attention is currently required from: Nicolò Boatto. Hello Nicolò Boatto,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/flashrom/+/63905
to review the following change.
Change subject: flashchips: Add ISSI IS25LP032 ......................................................................
flashchips: Add ISSI IS25LP032
Change-Id: I3757bc0624eb3a736438dc932d965fa6da213f69 Signed-off-by: Nicolò Boatto nicoloboatto@gmail.com Signed-off-by: Felix Singer felixsinger@posteo.net --- M flashchips.c M flashchips.h 2 files changed, 42 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/05/63905/1
diff --git a/flashchips.c b/flashchips.c index 0a1d21d..c2d83ab 100644 --- a/flashchips.c +++ b/flashchips.c @@ -7379,6 +7379,47 @@
{ .vendor = "ISSI", + .name = "IS25LP032", + .bustype = BUS_SPI, + .manufacture_id = ISSI_ID_SPI, + .model_id = ISSI_IS25LP032, + .total_size = 4096, + .page_size = 256, + /* OTP: 1024B total; read 0x48; write 0x42 */ + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI, + .tested = TEST_UNTESTED, + .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 = {2300, 3600}, + }, + + { + .vendor = "ISSI", .name = "IS25LP064", .bustype = BUS_SPI, .manufacture_id = ISSI_ID_SPI, diff --git a/flashchips.h b/flashchips.h index ba97719..ba32291 100644 --- a/flashchips.h +++ b/flashchips.h @@ -472,6 +472,7 @@
#define ISSI_ID 0xD5 /* ISSI Integrated Silicon Solutions, see also PMC. */ #define ISSI_ID_SPI 0x9D /* ISSI ID used for SPI flash, see also PMC_ID_NOPREFIX */ +#define ISSI_IS25LP032 0x6016 #define ISSI_IS25LP064 0x6017 #define ISSI_IS25LP128 0x6018 #define ISSI_IS25LP256 0x6019