mediatek: Add GD5F1GQ5xExxG to mtk-snand
authorRichard Huynh <voxlympha@gmail.com>
Mon, 27 Dec 2021 02:07:29 +0000 (13:07 +1100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 20 Mar 2022 18:33:39 +0000 (18:33 +0000)
Some units of the Xiaomi Redmi Router AX6S/Xiaomi Router AX3200 contain this part.

Signed-off-by: Richard Huynh <voxlympha@gmail.com>
target/linux/mediatek/files-5.10/drivers/mtd/mtk-snand/mtk-snand-ids.c

index 1756ff7e3054d0d05dbfe7bb7094fbbf67ca952d..89c72c10a5820289e5dcd39ac9bceb35191d00ac 100644 (file)
@@ -131,6 +131,10 @@ static const struct snand_flash_info snand_flash_ids[] = {
                   SNAND_MEMORG_4G_2K_64,
                   &snand_cap_read_from_cache_quad_q2d,
                   &snand_cap_program_load_x4),
+       SNAND_INFO("GD5F1GQ5xExxG", SNAND_ID(SNAND_ID_DYMMY, 0xc8, 0x51),
+                  SNAND_MEMORG_1G_2K_128,
+                  &snand_cap_read_from_cache_quad_q2d,
+                  &snand_cap_program_load_x4),
        SNAND_INFO("GD5F2GQ5UExxG", SNAND_ID(SNAND_ID_DYMMY, 0xc8, 0x52),
                   SNAND_MEMORG_2G_2K_128,
                   &snand_cap_read_from_cache_quad_q2d,