mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Add support for the SST25LF080A flash chip
Based on the definition of SST25LF040A and the public datasheet available here: http://www.sst.com/dotAsset/40316.pdf Also, move the SST25LF040A up to keep the list ordered alphabetically (while removing the ".RES" suffix). Corresponding to flashrom svn r1415. Signed-off-by: Zeus Castro <thezeusjuice@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
parent
a63c7c4496
commit
33670ba5c4
90
flashchips.c
90
flashchips.c
@ -5545,6 +5545,66 @@ const struct flashchip flashchips[] = {
|
||||
.voltage = {2700, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "SST",
|
||||
.name = "SST25LF040A",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = SST_ID,
|
||||
.model_id = SST_SST25VF040_REMS,
|
||||
.total_size = 512,
|
||||
.page_size = 256,
|
||||
.tested = TEST_OK_PROBE,
|
||||
.probe = probe_spi_res2,
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.block_erasers =
|
||||
{
|
||||
{
|
||||
.eraseblocks = { {4 * 1024, 128} },
|
||||
.block_erase = spi_block_erase_20,
|
||||
}, {
|
||||
.eraseblocks = { {32 * 1024, 16} },
|
||||
.block_erase = spi_block_erase_52,
|
||||
}, {
|
||||
.eraseblocks = { {512 * 1024, 1} },
|
||||
.block_erase = spi_block_erase_60,
|
||||
},
|
||||
},
|
||||
.unlock = spi_disable_blockprotect,
|
||||
.write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */
|
||||
.read = spi_chip_read,
|
||||
.voltage = {3000, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "SST",
|
||||
.name = "SST25LF080A",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = SST_ID,
|
||||
.model_id = SST_SST25VF080_REMS,
|
||||
.total_size = 1024,
|
||||
.page_size = 256,
|
||||
.tested = TEST_UNTESTED,
|
||||
.probe = probe_spi_res2,
|
||||
.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 = { {1024 * 1024, 1} },
|
||||
.block_erase = spi_block_erase_60,
|
||||
},
|
||||
},
|
||||
.unlock = spi_disable_blockprotect,
|
||||
.write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */
|
||||
.read = spi_chip_read,
|
||||
.voltage = {3000, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "SST",
|
||||
.name = "SST25VF010.REMS",
|
||||
@ -5749,36 +5809,6 @@ const struct flashchip flashchips[] = {
|
||||
.voltage = {2700, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "SST",
|
||||
.name = "SST25LF040A.RES",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = SST_ID,
|
||||
.model_id = SST_SST25VF040_REMS,
|
||||
.total_size = 512,
|
||||
.page_size = 256,
|
||||
.tested = TEST_OK_PROBE,
|
||||
.probe = probe_spi_res2,
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.block_erasers =
|
||||
{
|
||||
{
|
||||
.eraseblocks = { {4 * 1024, 128} },
|
||||
.block_erase = spi_block_erase_20,
|
||||
}, {
|
||||
.eraseblocks = { {32 * 1024, 16} },
|
||||
.block_erase = spi_block_erase_52,
|
||||
}, {
|
||||
.eraseblocks = { {512 * 1024, 1} },
|
||||
.block_erase = spi_block_erase_60,
|
||||
},
|
||||
},
|
||||
.unlock = spi_disable_blockprotect,
|
||||
.write = spi_chip_write_1, /* AAI supported, but opcode is 0xAF */
|
||||
.read = spi_chip_read,
|
||||
.voltage = {3000, 3600},
|
||||
},
|
||||
|
||||
{
|
||||
.vendor = "SST",
|
||||
.name = "SST25VF040B.REMS",
|
||||
|
Loading…
x
Reference in New Issue
Block a user