1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-28 23:43:42 +02:00

flashchips: Add ATMEL AT25SL128A

Change-Id: I60c433ffe9e34663c2cfc608b8b76943cd92a8ba
Signed-off-by: Hal Martin <hal.martin@gmail.com>
Reviewed-on: https://review.coreboot.org/26576
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Hal Martin 2018-05-27 14:18:43 +02:00 committed by Nico Huber
parent 6329b0af1d
commit 49e23d2e37
2 changed files with 40 additions and 0 deletions

View File

@ -2324,6 +2324,45 @@ const struct flashchip flashchips[] = {
.voltage = {2500, 3600}, .voltage = {2500, 3600},
}, },
{
.vendor = "ATMEL",
.name = "AT25SL128A",
.bustype = BUS_SPI,
.manufacture_id = ATMEL_ID,
.model_id = ATMEL_AT25SL128A,
.total_size = 16384,
.page_size = 256,
/* supports SFDP */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.block_erasers =
{
{
.eraseblocks = { {4 * 1024, 4096} },
.block_erase = spi_block_erase_20,
}, {
.eraseblocks = { {32 * 1024, 512} },
.block_erase = spi_block_erase_52,
}, {
.eraseblocks = { {64 * 1024, 256} },
.block_erase = spi_block_erase_d8,
}, {
.eraseblocks = { {16 * 1024 * 1024, 1} },
.block_erase = spi_block_erase_60,
}, {
.eraseblocks = { {16 * 1024 * 1024, 1} },
.block_erase = spi_block_erase_c7,
}
},
.printlock = spi_prettyprint_status_register_plain, /* TODO: improve */
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
.read = spi_chip_read,
.voltage = {1700, 2000},
},
{ {
.vendor = "Atmel", .vendor = "Atmel",
.name = "AT26DF041", .name = "AT26DF041",

View File

@ -150,6 +150,7 @@
#define ATMEL_AT25SF041 0x8401 #define ATMEL_AT25SF041 0x8401
#define ATMEL_AT25SF081 0x8501 #define ATMEL_AT25SF081 0x8501
#define ATMEL_AT25SF161 0x8601 #define ATMEL_AT25SF161 0x8601
#define ATMEL_AT25SL128A 0x4218
#define ATMEL_AT26DF041 0x4400 #define ATMEL_AT26DF041 0x4400
#define ATMEL_AT26DF081 0x4500 /* guessed, no datasheet available */ #define ATMEL_AT26DF081 0x4500 /* guessed, no datasheet available */
#define ATMEL_AT26DF081A 0x4501 #define ATMEL_AT26DF081A 0x4501