WereCatf has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/58159 )
Change subject: flashchips: Add Puya P25Q21H ......................................................................
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,