From 2ef47f384a07915d8eb780375343d8c9e083296c Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sun, 30 Sep 2018 16:47:30 +0200 Subject: flashchips: Add ISSI IS25LP064 Grabbed from mailing list, created by Simon Buhrow. Since no logs were attached, the chip is marked as untested. Change-Id: Idc26162fc5a5a429acef546b30b12d8b1f195e0a Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/28809 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- flashchips.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'flashchips.c') diff --git a/flashchips.c b/flashchips.c index 9085c7d4..d6061cae 100644 --- a/flashchips.c +++ b/flashchips.c @@ -7253,6 +7253,47 @@ const struct flashchip flashchips[] = { .voltage = {3000, 3600}, }, + { + .vendor = "ISSI", + .name = "IS25LP064", + .bustype = BUS_SPI, + .manufacture_id = ISSI_ID_SPI, + .model_id = ISSI_IS25LP064, + .total_size = 8192, + .page_size = 256, + /* OTP: 1024B total; read 0x48; write 0x42 */ + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, + .tested = TEST_UNTESTED, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 2048} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {4 * 1024, 2048} }, + .block_erase = spi_block_erase_d7, + }, { + .eraseblocks = { {32 * 1024, 256} }, + .block_erase = spi_block_erase_52, + }, { + .eraseblocks = { {64 * 1024, 128} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {8 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {8 * 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 = "IS25LP128", -- cgit v1.2.3