From b938411eff307969e1d024782f301b2d73d99ecc Mon Sep 17 00:00:00 2001 From: Victor Lim Date: Sat, 17 Aug 2024 19:33:01 -0700 Subject: [PATCH] flashchips: add GD25B128E and GD25R128E GD25B128E: 3V 128Mbit shipped with QE = 1 https://www.gigadevice.com.cn/Public/Uploads/uploadfile/files/20220714/DS-00594-GD25B128E-Rev1.0.pdf GD25R128E: GD25Q128E with RPMC feature. GD25Q128E and GD25R128E share the same datasheet on the flash side. https://www.gigadevice.com.cn/Public/Uploads/uploadfile/files/20240729/DS-00480-GD25Q128E-Rev1.3.pdf Tested on ch347 both models with read write erase and protection. Change-Id: I14e3c44ebbcc65640042a7719401615b5aa66cc2 Signed-off-by: Victor Lim Reviewed-on: https://review.coreboot.org/c/flashrom/+/83967 Reviewed-by: Anastasia Klimchuk Tested-by: build bot (Jenkins) --- flashchips.c | 2 +- include/flashchips.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flashchips.c b/flashchips.c index 4c84a5ae1..a498dedd0 100644 --- a/flashchips.c +++ b/flashchips.c @@ -7273,7 +7273,7 @@ const struct flashchip flashchips[] = { { .vendor = "GigaDevice", - .name = "GD25Q127C/GD25Q128E", + .name = "GD25Q128E/GD25B128E/GD25R128E/GD25Q127C", .bustype = BUS_SPI, .manufacture_id = GIGADEVICE_ID, .model_id = GIGADEVICE_GD25Q128, diff --git a/include/flashchips.h b/include/flashchips.h index 3c181a68d..e4d0bca1c 100644 --- a/include/flashchips.h +++ b/include/flashchips.h @@ -391,7 +391,7 @@ #define GIGADEVICE_GD25Q16 0x4015 /* Same as GD25Q16B (which has OTP) */ #define GIGADEVICE_GD25Q32 0x4016 /* Same as GD25Q32B */ #define GIGADEVICE_GD25Q64 0x4017 /* Same as GD25Q64B */ -#define GIGADEVICE_GD25Q128 0x4018 /* Same as GD25Q128B, GD25Q127C, GD25Q128C, and GD25Q128E, can be distinguished by SFDP */ +#define GIGADEVICE_GD25Q128 0x4018 /* Same as GD25Q128B, GD25Q127C, GD25Q128C,and GD25Q128E, GD25B128E, GD25R128E can be distinguished by SFDP */ #define GIGADEVICE_GD25Q256D 0x4019 #define GIGADEVICE_GD25VQ21B 0x4212 #define GIGADEVICE_GD25VQ41B 0x4213 /* Same as GD25VQ40C, can be distinguished by SFDP */