Ssunk has uploaded this change for review.

View Change

flashchips: Add Support for XMC XM25QU128D

Add initial support for the SPI flash chip XM25QU128D (same as XM25QU128C)
Datasheet link: https://www.xmcwh.com/uploads/227/XM25QU128C_Ver2.1.pdf

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

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

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/39/83239/1
diff --git a/flashchips.c b/flashchips.c
index 01db490..d7230c2 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -22261,7 +22261,7 @@

{
.vendor = "XMC",
- .name = "XM25QU128C",
+ .name = "XM25QU128C/XM25QU128D",
.bustype = BUS_SPI,
.manufacture_id = ST_ID,
.model_id = XMC_XM25QU128C,
@@ -22270,7 +22270,7 @@
/* supports SFDP */
/* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI,
- .tested = TEST_UNTESTED,
+ .tested = TEST_OK_PREW,
.probe = PROBE_SPI_RDID,
.probe_timing = TIMING_ZERO,
.block_erasers =
diff --git a/include/flashchips.h b/include/flashchips.h
index 189b2d2..d816fd4 100644
--- a/include/flashchips.h
+++ b/include/flashchips.h
@@ -854,7 +854,7 @@
#define XMC_XM25QH32C 0x4016 /* Same as XM25QH32D */
#define XMC_XM25QH128A 0x7018
#define XMC_XM25QH128C 0x4018 /* Same as XM25QH128D */
-#define XMC_XM25QU128C 0x4118
+#define XMC_XM25QU128C 0x4118 /* Same as XM25QU128D */
#define XMC_XM25QH256C 0x4019
#define XMC_XM25QU256C 0x4119
#define XMC_XM25RU256C 0x4419

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

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