Add the 128-Mbit GigaDevice GD25Q128 SPI NOR flash with JEDEC ID
0xc84018, 64 KiB sectors, and 4 KiB erase support.

The Phytium E2000Q COMe board uses this device for its QSPI boot flash.

Signed-off-by: Bin Meng <[email protected]>
---

 hw/block/m25p80.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index 545e0b5728..60a9b1f8d5 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -207,6 +207,7 @@ static const FlashPartInfo known_devices[] = {
     /* GigaDevice */
     { INFO("gd25q32",     0xc84016,      0,  64 << 10,  64, ER_4K) },
     { INFO("gd25q64",     0xc84017,      0,  64 << 10, 128, ER_4K) },
+    { INFO("gd25q128",    0xc84018,      0,  64 << 10, 256, ER_4K) },
 
     /* Intel/Numonyx -- xxxs33b */
     { INFO("160s33b",     0x898911,      0,  64 << 10,  32, 0) },
-- 
2.53.0


Reply via email to