WereCatf has uploaded this change for review.

View Change

flashchips: Add Puya P25Q21H

Datasheet: https://datasheet.lcsc.com/szlcsc/1908281813_PUYA-P25Q21H-SSH-IT_C414061.pdf
Tested reading, writing and probing with CH341a.

Signed-off-by: Nita Vesa <werecatf@outlook.com>
Change-Id: I3039dbfd6def29bbab8dfb5b40d8db85fe160485
---
M flashchips.c
M flashchips.h
2 files changed, 3 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/59/58159/1
diff --git a/flashchips.c b/flashchips.c
index 8ca540b..65c5928 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -13132,10 +13132,10 @@

{
.vendor = "PUYA",
- .name = "P25D21H",
+ .name = "P25Q21H",
.bustype = BUS_SPI,
.manufacture_id = PUYA_ID,
- .model_id = PUYA_P25D21H,
+ .model_id = PUYA_P25Q21H,
.total_size = 256,
.page_size = 256,
/* supports SFDP */
diff --git a/flashchips.h b/flashchips.h
index 5ec26ab..96fdddd 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -622,7 +622,7 @@
#define PMC_PM49FL004 0x6E

#define PUYA_ID 0x85
-#define PUYA_P25D21H 0x4012
+#define PUYA_P25Q21H 0x4012

/*
* The Sanyo chip found so far uses SPI, first byte is manufacturer code,

To view, visit change 58159. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I3039dbfd6def29bbab8dfb5b40d8db85fe160485
Gerrit-Change-Number: 58159
Gerrit-PatchSet: 1
Gerrit-Owner: WereCatf <werecatf@outlook.com>
Gerrit-MessageType: newchange