summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-05-27 21:27:14 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-05-27 21:27:14 +0000
commit4f50f349374bf2f22eedb466e7b725b4a8a4174e (patch)
tree72094e403ba57a0e9746ce6b7230b635d1198f52 /flashchips.c
parent5b8ecda269eebfc5a572466d2ca1ccb8163898e5 (diff)
downloadflashrom-4f50f349374bf2f22eedb466e7b725b4a8a4174e.zip
flashrom-4f50f349374bf2f22eedb466e7b725b4a8a4174e.tar.gz
Add support for ESMT F25L32PA
Corresponding to flashrom svn r1801. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index a082e75..a21e21a 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3118,6 +3118,41 @@ const struct flashchip flashchips[] = {
},
{
+ .vendor = "ESMT",
+ .name = "F25L32PA",
+ .bustype = BUS_SPI,
+ .manufacture_id = ESMT_ID,
+ .model_id = ESMT_F25L32PA,
+ .total_size = 4096,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_EITHER | FEATURE_OTP,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 1024} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {64 * 1024, 64} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {4 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {4 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_bp2_bpl,
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ .voltage = {2700, 3600},
+ },
+
+ {
.vendor = "Eon",
.name = "EN25B05",
.bustype = BUS_SPI,
OpenPOWER on IntegriCloud