1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 22:43:17 +02:00

flashchips: Add Puya P25Q21H/11H/06H

Datasheet:
https://semic-boutique.com/wp-content/uploads/2016/05/P25Q21H-SSH-IT.pdf

Tested P25Q21H read, write and probe with CH341a.

Signed-off-by: Nita Vesa <werecatf@outlook.com>
Change-Id: Idd43145c72607837cb7afa1b007e68eb8e63ebd9
Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/58134
Reviewed-by: Alexander Goncharov <chat@joursoir.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
WereCatf
2021-10-06 12:53:20 +03:00
committed by Anastasia Klimchuk
parent ea91d4fcf4
commit 52b794ff26
2 changed files with 134 additions and 0 deletions

View File

@ -635,6 +635,11 @@
#define PMC_PM49FL002 0x6D
#define PMC_PM49FL004 0x6E
#define PUYA_ID 0x85
#define PUYA_P25Q06H 0x4010
#define PUYA_P25Q11H 0x4011
#define PUYA_P25Q21H 0x4012
/*
* The Sanyo chip found so far uses SPI, first byte is manufacturer code,
* second byte is the device code,