From 1419070b3dae4f8ef65d5bdb77e0fcd0b79537ba Mon Sep 17 00:00:00 2001 From: James Buren Date: Sun, 25 Oct 2020 23:16:04 +0000 Subject: iriver_flash: add support for SST39VF3201 ROM chips These are used in the iRiver H300 series. Change-Id: Iafbd165bdfd71b691698156d3fd91243c50b3b61 --- apps/plugins/iriver_flash.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c index 829b49b31c..cecd4990a9 100644 --- a/apps/plugins/iriver_flash.c +++ b/apps/plugins/iriver_flash.c @@ -165,6 +165,12 @@ bool cfi_get_flash_info(struct flash_info* pInfo) rb->strcpy(pInfo->name, "SST39VF160"); return true; } + else if (pInfo->id == 0x5B) + { + pInfo->size = 4096* 1024; /* 4 MiB */ + rb->strcpy(pInfo->name, "SST39VF3201"); + return true; + } else return false; } -- cgit v1.2.3