flashchips: Add GD25R256D name
This one should be fully compatible to the GD25B256D, except that
it also features RPMC commands.
Datasheet used:
https://www.gigadevice.com.cn/Public/Uploads/uploadfile/files/20241211/DS-00406-GD25R256D-Rev1.3.pdf
Change-Id: If914e7ae3aa607a878fd844a8ce9010fa91130fc
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/582
diff --git a/flashchips.c b/flashchips.c
index e961bdc..4cf7d22 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -9015,7 +9015,7 @@
{
.vendor = "GigaDevice",
- .name = "GD25Q256D/GD25B256D",
+ .name = "GD25Q256D/GD25B256D/GD25R256D",
.bustype = BUS_SPI,
.id.type = ID_SPI_RDID,
.id.manufacture = GIGADEVICE_ID,
@@ -9062,7 +9062,7 @@
.voltage = {2700, 3600},
.reg_bits =
{
- .qe = {STATUS2, 1, RW}, /* GD25B256D: Fixed QE=1 */
+ .qe = {STATUS2, 1, RW}, /* GD25B/R: Fixed QE=1 */
.srp = {STATUS1, 7, RW},
.srl = {STATUS2, 6, RW},
.bp = {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}, {STATUS1, 5, RW}},