mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
Add support for Sanyo LE25FW106
Also, add spi_disable_blockprotect_bp1_srwd(). Originally written and tested by The Raven <originalraven@hotmail.com>. Corresponding to flashrom svn r1818. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
31
flashchips.c
31
flashchips.c
@ -9151,6 +9151,37 @@ const struct flashchip flashchips[] = {
|
||||
.voltage = {3000, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Sanyo",
|
||||
.name = "LE25FW106",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = SANYO_ID,
|
||||
.model_id = SANYO_LE25FW106,
|
||||
.total_size = 128,
|
||||
.page_size = 256,
|
||||
.feature_bits = FEATURE_WRSR_WREN,
|
||||
.tested = TEST_OK_PREW,
|
||||
.probe = probe_spi_res2,
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.block_erasers = {
|
||||
{
|
||||
.eraseblocks = { {2 * 1024, 64} },
|
||||
.block_erase = spi_block_erase_d7,
|
||||
}, {
|
||||
.eraseblocks = { {32 * 1024, 4} },
|
||||
.block_erase = spi_block_erase_d8,
|
||||
}, {
|
||||
.eraseblocks = { {128 * 1024, 1} },
|
||||
.block_erase = spi_block_erase_c7,
|
||||
}
|
||||
},
|
||||
.printlock = spi_prettyprint_status_register_bp1_srwd, /* FIXME: Add ERSER error flag. */
|
||||
.unlock = spi_disable_blockprotect_bp1_srwd,
|
||||
.write = spi_chip_write_256,
|
||||
.read = spi_chip_read,
|
||||
.voltage = {2700, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "Sanyo",
|
||||
.name = "LE25FW406A",
|
||||
|
Reference in New Issue
Block a user