1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

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>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/83241
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
Ssunk
2024-06-27 22:39:12 +08:00
committed by Anastasia Klimchuk
parent 806e76477f
commit a7606f014a
2 changed files with 2 additions and 2 deletions

View File

@ -22464,7 +22464,7 @@ const struct flashchip flashchips[] = {
{ {
.vendor = "XMC", .vendor = "XMC",
.name = "XM25QU256C", .name = "XM25QU256C/XM25QU256D",
.bustype = BUS_SPI, .bustype = BUS_SPI,
.manufacture_id = ST_ID, .manufacture_id = ST_ID,
.model_id = XMC_XM25QU256C, .model_id = XMC_XM25QU256C,

View File

@ -856,7 +856,7 @@
#define XMC_XM25QH128C 0x4018 /* Same as XM25QH128D */ #define XMC_XM25QH128C 0x4018 /* Same as XM25QH128D */
#define XMC_XM25QU128C 0x4118 /* Same as XM25QU128D */ #define XMC_XM25QU128C 0x4118 /* Same as XM25QU128D */
#define XMC_XM25QH256C 0x4019 /* Same as XM25QH256D */ #define XMC_XM25QH256C 0x4019 /* Same as XM25QH256D */
#define XMC_XM25QU256C 0x4119 #define XMC_XM25QU256C 0x4119 /* Same as XM25QU256D */
#define XMC_XM25RU256C 0x4419 #define XMC_XM25RU256C 0x4419
#define ST_M25PX80 0x7114 #define ST_M25PX80 0x7114
#define ST_M25PX16 0x7115 #define ST_M25PX16 0x7115