Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/84775?usp=email )
Change subject: flashchips: Add Support for XMC XM25LU64C ......................................................................
flashchips: Add Support for XMC XM25LU64C
Add initial support for the SPI flash chip XM25LU64C Datasheet link: https://www.xmcwh.com/uploads/954/XM25LU64C%20_%20Ver1.4.pdf
XM25QU64C/XM25LU64C Tested with ch341a programmer: probe, read, write, erase
Change-Id: I8d1af7fbfb4c45db09ed5ac82c683d273c8151c7 Signed-off-by: Kan Sun ssunkkan@gmail.com Reviewed-on: https://review.coreboot.org/c/flashrom/+/84775 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 b239b5e..f480078 100644 --- a/flashchips.c +++ b/flashchips.c @@ -22788,14 +22788,14 @@
{ .vendor = "XMC", - .name = "XM25QU64C", + .name = "XM25QU64C/XM25LU64C", .bustype = BUS_SPI, .manufacture_id = ST_ID, .model_id = XMC_XM25QU64C, .total_size = 8192, .page_size = 256, .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 534304a..886ddc9 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -856,7 +856,7 @@ #define ST_M45PE80 0x4014 /* Same as XM25QH80B */ #define ST_M45PE16 0x4015 #define XMC_XM25QH64C 0x4017 /* Same as XM25QH64D */ -#define XMC_XM25QU64C 0x4117 +#define XMC_XM25QU64C 0x4117 /* Same as XM25LU64C */ #define XMC_XM25QU80B 0x5014 #define XMC_XM25QH16C 0x4015 /* Same as XM25QH16D */ #define XMC_XM25QU16C 0x5015