Ssunk has uploaded this change for review.

View Change

flashchips: Add Support for XMC XM25LU64C

Add initial support for the SPI flash chip XM25LU64C
Datasheet link: https://www.xmcwh.com/uploads/954/XM25LU64C%20_%20Ver1.4.pdf

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

Change-Id: I8d1af7fbfb4c45db09ed5ac82c683d273c8151c7
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/75/84775/1
diff --git a/flashchips.c b/flashchips.c
index 02eefa4..15ee3cd 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -22686,7 +22686,7 @@

{
.vendor = "XMC",
- .name = "XM25QU64C",
+ .name = "XM25QU64C/XM25LU64",
.bustype = BUS_SPI,
.manufacture_id = ST_ID,
.model_id = XMC_XM25QU64C,
diff --git a/include/flashchips.h b/include/flashchips.h
index 5f3bed0..1403cf3 100644
--- a/include/flashchips.h
+++ b/include/flashchips.h
@@ -854,7 +854,7 @@
#define ST_M45PE80 0x4014 /* Same as XM25QH80B */
#define ST_M45PE16 0x4015
#define XMC_XM25QH64C 0x4017 /* Same as XM25QH64D */
-#define XMC_XM25QU64C 0x4117
+#define XMC_XM25QU64C 0x4117 /* Same as XM25LU64C */
#define XMC_XM25QU80B 0x5014
#define XMC_XM25QH16C 0x4015 /* Same as XM25QH16D */
#define XMC_XM25QU16C 0x5015

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

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