Ssunk has uploaded this change for review.

View Change

flashchips: Add Support for XMC XM25QU256D

Add initial support for the SPI flash chip XM25QU256D (same as XM25QU256C)
Datasheet link:
https://www.xmcwh.com/uploads/224/XM25QU256C%20_%20Ver%202.0.pdf

Tested with ch341a programmer: probe, read, write, erase

Change-Id: I504699160f804cfbacd189409596e105752d94eb
Signed-off-by: Kan Sun <ssunkkan@gmail.com>
---
M flashchips.c
M include/flashchips.h
2 files changed, 2 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/41/83241/1
diff --git a/flashchips.c b/flashchips.c
index bfa6c4c..61c2127 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -22351,7 +22351,7 @@

{
.vendor = "XMC",
- .name = "XM25QU256C",
+ .name = "XM25QU256C/XM25QU256D",
.bustype = BUS_SPI,
.manufacture_id = ST_ID,
.model_id = XMC_XM25QU256C,
diff --git a/include/flashchips.h b/include/flashchips.h
index f535e35..9b4b2f9 100644
--- a/include/flashchips.h
+++ b/include/flashchips.h
@@ -856,7 +856,7 @@
#define XMC_XM25QH128C 0x4018 /* Same as XM25QH128D */
#define XMC_XM25QU128C 0x4118 /* Same as XM25QU128D */
#define XMC_XM25QH256C 0x4019 /* Same as XM25QH256D */
-#define XMC_XM25QU256C 0x4119
+#define XMC_XM25QU256C 0x4119 /* Same as XM25QU256D */
#define XMC_XM25RU256C 0x4419
#define ST_M25PX80 0x7114
#define ST_M25PX16 0x7115

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

Gerrit-MessageType: newchange
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I504699160f804cfbacd189409596e105752d94eb
Gerrit-Change-Number: 83241
Gerrit-PatchSet: 1
Gerrit-Owner: Ssunk <ssunkkan@gmail.com>