Anastasia Klimchuk submitted this change.

View Change

Approvals: Anastasia Klimchuk: Looks good to me, approved build bot (Jenkins): Verified
flashchips: Add Support for XMC XM25QH64D

Add initial support for the SPI flash chip XM25QH64D (same as XM25QH64C)
Datasheet link: https://www.xmcwh.com/uploads/800/XM25QH64C_Ver1.8.pdf

Change-Id: Ia3357cb2c30cbe34dcf0e06fd037064304b4c0c4
Signed-off-by: Kan Sun <ssunkkan@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/83237
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
---
M flashchips.c
M include/flashchips.h
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flashchips.c b/flashchips.c
index 94886d7..bf74313 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -22202,7 +22202,7 @@

{
.vendor = "XMC",
- .name = "XM25QH64C",
+ .name = "XM25QH64C/XM25QH64D",
.bustype = BUS_SPI,
.manufacture_id = ST_ID,
.model_id = XMC_XM25QH64C,
diff --git a/include/flashchips.h b/include/flashchips.h
index 7db60a2..5040c65 100644
--- a/include/flashchips.h
+++ b/include/flashchips.h
@@ -845,7 +845,7 @@
#define ST_M45PE40 0x4013
#define ST_M45PE80 0x4014 /* Same as XM25QH80B */
#define ST_M45PE16 0x4015
-#define XMC_XM25QH64C 0x4017
+#define XMC_XM25QH64C 0x4017 /* Same as XM25QH64D */
#define XMC_XM25QU64C 0x4117
#define XMC_XM25QU80B 0x5014
#define XMC_XM25QH16C 0x4015 /* Same as XM25QH16D */

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

Gerrit-MessageType: merged
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: Ia3357cb2c30cbe34dcf0e06fd037064304b4c0c4
Gerrit-Change-Number: 83237
Gerrit-PatchSet: 3
Gerrit-Owner: Ssunk <ssunkkan@gmail.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Nikolai Artemiev <nartemiev@google.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>