Ssunk has uploaded this change for review. ( 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 --- M flashchips.c M include/flashchips.h 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/38/83238/1
diff --git a/flashchips.c b/flashchips.c index 0c3e50e..01db490 100644 --- a/flashchips.c +++ b/flashchips.c @@ -22213,14 +22213,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 74229c0..189b2d2 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -853,7 +853,7 @@ #define XMC_XM25QU32C 0x5016 #define XMC_XM25QH32C 0x4016 /* Same as XM25QH32D */ #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