Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/83241?usp=email )
Change subject: flashchips: Add Support for XMC XM25QU256D ......................................................................
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 --- M flashchips.c M include/flashchips.h 2 files changed, 2 insertions(+), 2 deletions(-)
Approvals: Anastasia Klimchuk: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/flashchips.c b/flashchips.c index f968966..669da50 100644 --- a/flashchips.c +++ b/flashchips.c @@ -22464,7 +22464,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 eb66e6c..fc89ec1 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