From b2c34602579383d07967d25db4b097d52208989b Mon Sep 17 00:00:00 2001 From: kaidegit <2857693944@qq.com> Date: Sat, 24 Jul 2021 21:43:06 +0800 Subject: [PATCH 1/2] add NM25Q128EV --- sfud/inc/sfud_flash_def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sfud/inc/sfud_flash_def.h b/sfud/inc/sfud_flash_def.h index 17224ae..9e1df43 100644 --- a/sfud/inc/sfud_flash_def.h +++ b/sfud/inc/sfud_flash_def.h @@ -111,6 +111,7 @@ typedef struct { {"ISSI", SFUD_MF_ID_ISSI}, \ {"Winbond", SFUD_MF_ID_WINBOND}, \ {"Micronix", SFUD_MF_ID_MICRONIX}, \ + {"Nor-Mem", SFUD_MF_ID_NOR_MEM}, \ } #ifdef SFUD_USING_FLASH_INFO_TABLE @@ -143,6 +144,7 @@ typedef struct { {"A25L080", SFUD_MF_ID_AMIC, 0x30, 0x14, 1L*1024L*1024L, SFUD_WM_PAGE_256B, 4096, 0x20}, \ {"F25L004", SFUD_MF_ID_ESMT, 0x20, 0x13, 512L*1024L, SFUD_WM_BYTE|SFUD_WM_AAI, 4096, 0x20}, \ {"PCT25VF016B", SFUD_MF_ID_SST, 0x25, 0x41, 2L*1024L*1024L, SFUD_WM_BYTE|SFUD_WM_AAI, 4096, 0x20}, \ + {"NM25Q128EV", SFUD_MF_ID_NOR_MEM, 0x21, 0x18, 16L*1024L*1024L, SFUD_WM_PAGE_256B, 4096, 0x20}, \ } #endif /* SFUD_USING_FLASH_INFO_TABLE */ From 70c09318570550176ace11338734e45f0f900567 Mon Sep 17 00:00:00 2001 From: kaidegit <60053077+kaidegit@users.noreply.github.com> Date: Sun, 25 Jul 2021 15:09:18 +0800 Subject: [PATCH 2/2] Update sfud_flash_def.h --- sfud/inc/sfud_flash_def.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sfud/inc/sfud_flash_def.h b/sfud/inc/sfud_flash_def.h index 9e1df43..7e4b163 100644 --- a/sfud/inc/sfud_flash_def.h +++ b/sfud/inc/sfud_flash_def.h @@ -91,6 +91,7 @@ typedef struct { #define SFUD_MF_ID_GIGADEVICE 0xC8 #define SFUD_MF_ID_ISSI 0xD5 #define SFUD_MF_ID_WINBOND 0xEF +#define SFUD_MF_ID_NOR_MEM 0x52 /* SFUD supported manufacturer information table */ #define SFUD_MF_TABLE \