mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 16:03:47 +02:00
flashchips: Add IS25LP256 and IS25WP256
Tested IS25LP256 using Raspberry Pi and Dediprog SF600 programmers. Tested IS25WP256 using Dediprog SF600. Change-Id: Idf7a224abcde5f7935d9ef88309f78207de60a7a Signed-off-by: David Hendricks <david.hendricks@gmail.com> Reviewed-on: https://review.coreboot.org/29306 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
4987679d73
commit
61818dc098
100
flashchips.c
100
flashchips.c
@ -7374,6 +7374,56 @@ const struct flashchip flashchips[] = {
|
|||||||
.voltage = {2300, 3600},
|
.voltage = {2300, 3600},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "ISSI",
|
||||||
|
.name = "IS25LP256",
|
||||||
|
.bustype = BUS_SPI,
|
||||||
|
.manufacture_id = ISSI_ID_SPI,
|
||||||
|
.model_id = ISSI_IS25LP256,
|
||||||
|
.total_size = 32768,
|
||||||
|
.page_size = 256,
|
||||||
|
/* supports SFDP */
|
||||||
|
/* OTP: 1024B total; read 0x68; write 0x62, erase 0x64, read ID 0x4B */
|
||||||
|
/* FOUR_BYTE_ADDR: supports 4-bytes addressing mode */
|
||||||
|
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA | FEATURE_4BA_ENTER_EAR7,
|
||||||
|
.tested = TEST_OK_PREW,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.block_erasers =
|
||||||
|
{
|
||||||
|
{
|
||||||
|
.eraseblocks = { {4 * 1024, 8192} },
|
||||||
|
.block_erase = spi_block_erase_21,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {4 * 1024, 8192} },
|
||||||
|
.block_erase = spi_block_erase_20,
|
||||||
|
/* could also use spi_block_erase_d7 */
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 1024, 1024} },
|
||||||
|
.block_erase = spi_block_erase_5c,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 1024, 1024} },
|
||||||
|
.block_erase = spi_block_erase_52,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {64 * 1024, 512} },
|
||||||
|
.block_erase = spi_block_erase_dc,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {64 * 1024, 512} },
|
||||||
|
.block_erase = spi_block_erase_d8,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 1024 * 1024, 1} },
|
||||||
|
.block_erase = spi_block_erase_60,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 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",
|
.vendor = "ISSI",
|
||||||
.name = "IS25WP032",
|
.name = "IS25WP032",
|
||||||
@ -7500,6 +7550,56 @@ const struct flashchip flashchips[] = {
|
|||||||
.voltage = {1650, 1950},
|
.voltage = {1650, 1950},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
.vendor = "ISSI",
|
||||||
|
.name = "IS25WP256",
|
||||||
|
.bustype = BUS_SPI,
|
||||||
|
.manufacture_id = ISSI_ID_SPI,
|
||||||
|
.model_id = ISSI_IS25WP256,
|
||||||
|
.total_size = 32768,
|
||||||
|
.page_size = 256,
|
||||||
|
/* supports SFDP */
|
||||||
|
/* OTP: 1024B total; read 0x68; write 0x62, erase 0x64, read ID 0x4B */
|
||||||
|
/* FOUR_BYTE_ADDR: supports 4-bytes addressing mode */
|
||||||
|
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA | FEATURE_4BA_ENTER_EAR7,
|
||||||
|
.tested = TEST_OK_PREW,
|
||||||
|
.probe = probe_spi_rdid,
|
||||||
|
.probe_timing = TIMING_ZERO,
|
||||||
|
.block_erasers =
|
||||||
|
{
|
||||||
|
{
|
||||||
|
.eraseblocks = { {4 * 1024, 8192} },
|
||||||
|
.block_erase = spi_block_erase_21,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {4 * 1024, 8192} },
|
||||||
|
.block_erase = spi_block_erase_20,
|
||||||
|
/* could also use spi_block_erase_d7 */
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 1024, 1024} },
|
||||||
|
.block_erase = spi_block_erase_5c,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 1024, 1024} },
|
||||||
|
.block_erase = spi_block_erase_52,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {64 * 1024, 512} },
|
||||||
|
.block_erase = spi_block_erase_dc,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {64 * 1024, 512} },
|
||||||
|
.block_erase = spi_block_erase_d8,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 1024 * 1024, 1} },
|
||||||
|
.block_erase = spi_block_erase_60,
|
||||||
|
}, {
|
||||||
|
.eraseblocks = { {32 * 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",
|
.vendor = "ISSI",
|
||||||
.name = "IS29GL064B",
|
.name = "IS29GL064B",
|
||||||
|
@ -456,9 +456,11 @@
|
|||||||
#define ISSI_ID_SPI 0x9D /* ISSI ID used for SPI flash, see also PMC_ID_NOPREFIX */
|
#define ISSI_ID_SPI 0x9D /* ISSI ID used for SPI flash, see also PMC_ID_NOPREFIX */
|
||||||
#define ISSI_IS25LP064 0x6017
|
#define ISSI_IS25LP064 0x6017
|
||||||
#define ISSI_IS25LP128 0x6018
|
#define ISSI_IS25LP128 0x6018
|
||||||
|
#define ISSI_IS25LP256 0x6019
|
||||||
#define ISSI_IS25WP032 0x7016
|
#define ISSI_IS25WP032 0x7016
|
||||||
#define ISSI_IS25WP064 0x7017
|
#define ISSI_IS25WP064 0x7017
|
||||||
#define ISSI_IS25WP128 0x7018
|
#define ISSI_IS25WP128 0x7018
|
||||||
|
#define ISSI_IS25WP256 0x7019
|
||||||
#define ISSI_PMC_IS29GL032B 0xF9
|
#define ISSI_PMC_IS29GL032B 0xF9
|
||||||
#define ISSI_PMC_IS29GL032T 0xF6
|
#define ISSI_PMC_IS29GL032T 0xF6
|
||||||
#define ISSI_PMC_IS29GL064B 0x7E1000
|
#define ISSI_PMC_IS29GL064B 0x7E1000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user