Felix Singer has uploaded this change for review.

View Change

flashchips: add XT25F128B flashrom

Change-Id: Ifc3faaf442cdf4d54b013bfd2b7cd0615caa717a
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/16/63916/1
diff --git a/flashchips.c b/flashchips.c
index 2be90bf..0e0e50c 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -19588,6 +19588,38 @@

{
.vendor = "XTX",
+ .name = "XT25W128B",
+ .bustype = BUS_SPI,
+ .manufacture_id = XTX_25W_ID,
+ .model_id = XTX_XT25W128B,
+ .total_size = 128,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 32} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {64 * 1024, 2} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {128 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .printlock = spi_prettyprint_status_register_bp2_srwd,
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "XTX",
.name = "XT25F01",
.bustype = BUS_SPI,
.manufacture_id = XTX_ID,
diff --git a/flashchips.h b/flashchips.h
index 9350fb1..8321a90 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -1029,6 +1029,9 @@
#define XTX_ID 0x0B /* XTX */
#define XTX_XT25F01D 0x4011

+#define XTX_25W_ID 0x0B
+#define XTX_XT25W128B 0x4018
+
#define ZETTADEVICE_ID 0xBA /* Zetta Device */
#define ZETTADEVICE_ZD25D20 0x2012
#define ZETTADEVICE_ZD25D40 0x2013

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

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