Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/83239?usp=email )
Change subject: flashchips: Add Support for XMC XM25QU128D ......................................................................
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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/83239 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, 3 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Anastasia Klimchuk: Looks good to me, approved
diff --git a/flashchips.c b/flashchips.c index 66a2e00..eaeb390 100644 --- a/flashchips.c +++ b/flashchips.c @@ -22374,7 +22374,7 @@
{ .vendor = "XMC", - .name = "XM25QU128C", + .name = "XM25QU128C/XM25QU128D", .bustype = BUS_SPI, .manufacture_id = ST_ID, .model_id = XMC_XM25QU128C, @@ -22383,7 +22383,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 c738ce9..cc338c4 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -854,7 +854,7 @@ #define XMC_XM25QU32C 0x5016 #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