Felix Singer has uploaded this change for review.

View Change

flashchips: Add f25l16pa

Change-Id: If80e2bdacc14e94cd70bb0f9dff5f38c9af62ef3
Signed-off-by: Felix Singer <felixsinger@posteo.net>
---
M flashchips.c
M flashchips.h
2 files changed, 35 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/12/63912/1
diff --git a/flashchips.c b/flashchips.c
index 0a1d21d..5f9ef4e 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -4433,6 +4433,40 @@
.read = spi_chip_read,
.voltage = {2700, 3600},
},
+ {
+ .vendor = "ESMT",
+ .name = "F25L16PA",
+ .bustype = BUS_SPI,
+ .manufacture_id = ESMT_ID,
+ .model_id = ESMT_F25L16PA, // 0x14
+ .total_size = 2048,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_EITHER,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 512} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {64 * 1024, 32} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {2 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {2 * 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",
diff --git a/flashchips.h b/flashchips.h
index ba97719..14ff1b8 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -232,6 +232,7 @@
#define ESMT_F25L64QA 0x4117
#define ESMT_F25L128QA 0x4118
#define ESMT_F49B002UA 0x00
+#define ESMT_F25L16PA 0x2015

/*
* EN25 chips are SPI, first byte of device ID is memory type,

To view, visit change 63912. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: If80e2bdacc14e94cd70bb0f9dff5f38c9af62ef3
Gerrit-Change-Number: 63912
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Singer <felixsinger@posteo.net>
Gerrit-MessageType: newchange