Neil Armstrong has uploaded this change for review.

View Change

flashchips: add definition of the XT25F02E SPI NOR flash

This adds definition of the XT25F02E 2MBit SPI NOR Flash from XTX Technology Limited.

This also adds the XTX Technology Limited vendor ID.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Change-Id: I295633c448c05520e4a6aa09c08bd7c9f2346d54
---
M flashchips.c
M flashchips.h
2 files changed, 35 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/63/50263/1
diff --git a/flashchips.c b/flashchips.c
index 38b0bfd..cfac44d 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -19231,6 +19231,38 @@
},

{
+ .vendor = "XTX Technology Limited",
+ .name = "XT25F02E",
+ .bustype = BUS_SPI,
+ .manufacture_id = XTX_ID,
+ .model_id = XTX_XT25F02E,
+ .total_size = 256,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_UNTESTED,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 64} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {64 * 1024, 4} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {256 * 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 = "Zetta Device",
.name = "ZD25D20",
.bustype = BUS_SPI,
diff --git a/flashchips.h b/flashchips.h
index a85fa6a..b44a1d4 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -1021,6 +1021,9 @@
#define WINBOND_W49V002A 0xB0
#define WINBOND_W49V002FA 0x32

+#define XTX_ID 0x0B /* XTX Technology Limited */
+#define XTX_XT25F02E 0x4012
+
#define ZETTADEVICE_ID 0xBA /* Zetta Device */
#define ZETTADEVICE_ZD25D20 0x2012
#define ZETTADEVICE_ZD25D40 0x2013

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I295633c448c05520e4a6aa09c08bd7c9f2346d54
Gerrit-Change-Number: 50263
Gerrit-PatchSet: 1
Gerrit-Owner: Neil Armstrong <narmstrong@baylibre.com>
Gerrit-MessageType: newchange