Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/83240?usp=email )
Change subject: flashchips: Add Support for XMC XM25QH256D ......................................................................
flashchips: Add Support for XMC XM25QH256D
Add initial support for the SPI flash chip XM25QH256D (same as XM25QH256C) Datasheet link: https://www.xmcwh.com/uploads/802/XM25QH256C%20_%20Ver%202.0.pdf
Tested with ch341a programmer: probe, read, write, erase
Change-Id: I77481e63eb98ed12935288dc0d6286cb1baf8edb Signed-off-by: Kan Sun ssunkkan@gmail.com Reviewed-on: https://review.coreboot.org/c/flashrom/+/83240 Reviewed-by: Anastasia Klimchuk aklm@chromium.org Tested-by: build bot (Jenkins) no-reply@coreboot.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 eaeb390..f968966 100644 --- a/flashchips.c +++ b/flashchips.c @@ -22414,7 +22414,7 @@
{ .vendor = "XMC", - .name = "XM25QH256C", + .name = "XM25QH256C/XM25QH256D", .bustype = BUS_SPI, .manufacture_id = ST_ID, .model_id = XMC_XM25QH256C, @@ -22425,7 +22425,7 @@ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA_ENTER_WREN | FEATURE_4BA_EAR_C5C8 | FEATURE_4BA_READ | FEATURE_4BA_FAST_READ | FEATURE_4BA_WRITE | FEATURE_WRSR2, - .tested = TEST_OK_PR, + .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 cc338c4..eb66e6c 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -855,7 +855,7 @@ #define XMC_XM25QH128A 0x7018 #define XMC_XM25QH128C 0x4018 /* Same as XM25QH128D */ #define XMC_XM25QU128C 0x4118 /* Same as XM25QU128D */ -#define XMC_XM25QH256C 0x4019 +#define XMC_XM25QH256C 0x4019 /* Same as XM25QH256D */ #define XMC_XM25QU256C 0x4119 #define XMC_XM25RU256C 0x4419 #define ST_M25PX80 0x7114