Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/83238?usp=email )
Change subject: flashchips: Add Support for XMC XM25QH128D ......................................................................
flashchips: Add Support for XMC XM25QH128D
Add initial support for the SPI flash chip XM25QH128D (same as XM25QH128C) Datasheet link: https://www.xmcwh.com/uploads/801/XM25QH128C_Ver2.1.pdf
Tested with ch341a programmer: probe, read, write, erase
Change-Id: Ia4577fba545f9f8eea15eef7060bd5955a8457ca Signed-off-by: Kan Sun ssunkkan@gmail.com Reviewed-on: https://review.coreboot.org/c/flashrom/+/83238 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: Anastasia Klimchuk: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/flashchips.c b/flashchips.c index bf74313..66a2e00 100644 --- a/flashchips.c +++ b/flashchips.c @@ -22326,14 +22326,14 @@
{ .vendor = "XMC", - .name = "XM25QH128C", + .name = "XM25QH128C/XM25QH128D", .bustype = BUS_SPI, .manufacture_id = ST_ID, .model_id = XMC_XM25QH128C, .total_size = 16384, .page_size = 256, .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_QPI | FEATURE_WRSR2, - .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 5040c65..c738ce9 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -853,7 +853,7 @@ #define XMC_XM25QH32C 0x4016 /* Same as XM25QH32D */ #define XMC_XM25QU32C 0x5016 #define XMC_XM25QH128A 0x7018 -#define XMC_XM25QH128C 0x4018 +#define XMC_XM25QH128C 0x4018 /* Same as XM25QH128D */ #define XMC_XM25QU128C 0x4118 #define XMC_XM25QH256C 0x4019 #define XMC_XM25QU256C 0x4119