diff options
author | James Buren <braewoods+rb@braewoods.net> | 2020-10-25 23:16:04 +0000 |
---|---|---|
committer | James Buren <braewoods+rb@braewoods.net> | 2020-10-25 23:18:21 +0000 |
commit | 1419070b3dae4f8ef65d5bdb77e0fcd0b79537ba (patch) | |
tree | 6b2c11b9fdf2ee3f52a06ef32de2d676e0a94a1f /apps/plugins/iriver_flash.c | |
parent | 3fbca49929780b883587c0dbf260bcc0b7ae7919 (diff) |
iriver_flash: add support for SST39VF3201 ROM chips
These are used in the iRiver H300 series.
Change-Id: Iafbd165bdfd71b691698156d3fd91243c50b3b61
Diffstat (limited to 'apps/plugins/iriver_flash.c')
-rw-r--r-- | apps/plugins/iriver_flash.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |