summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-10-25 23:16:04 +0000
committerJames Buren <braewoods+rb@braewoods.net>2020-10-25 23:18:21 +0000
commit1419070b3dae4f8ef65d5bdb77e0fcd0b79537ba (patch)
tree6b2c11b9fdf2ee3f52a06ef32de2d676e0a94a1f
parent3fbca49929780b883587c0dbf260bcc0b7ae7919 (diff)
downloadrockbox-1419070.tar.gz
rockbox-1419070.zip
iriver_flash: add support for SST39VF3201 ROM chips
These are used in the iRiver H300 series. Change-Id: Iafbd165bdfd71b691698156d3fd91243c50b3b61
-rw-r--r--apps/plugins/iriver_flash.c6
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;
}