non_cfi: add SST39WF1601 support
[fw/openocd] / src / flash / nor / non_cfi.c
index b944b72c234118a7eed2719ba72b21d445c58a99..8acc3cc44a37fe5f10a3ab17c9c9842e175e1f15 100644 (file)
@@ -201,6 +201,20 @@ static struct non_cfi non_cfi_flashes[] = {
                        ERASE_REGION(512, 4*KB)
                }
        },
+       {
+               .mfr = CFI_MFR_SST,
+               .id = 0x274b,                           /* SST39WF1601 */
+               .pri_id = 0x02,
+               .dev_size = 2*MB,
+               .interface_desc = 0x2,          /* x8 or x16 device with nBYTE */
+               .max_buf_write_size = 0x0,
+               .status_poll_mask = CFI_STATUS_POLL_MASK_DQ6_DQ7,
+               .num_erase_regions = 1,
+               .erase_region_info =
+               {
+                       ERASE_REGION(512, 4*KB)
+               }
+       },
        {
                .mfr = CFI_MFR_SST,
                .id = 0x234a,                           /* SST39VF1602 */