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 | |
parent | 3fbca49929780b883587c0dbf260bcc0b7ae7919 (diff) | |
download | rockbox-1419070b3dae4f8ef65d5bdb77e0fcd0b79537ba.tar.gz rockbox-1419070b3dae4f8ef65d5bdb77e0fcd0b79537ba.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.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) | |||
165 | rb->strcpy(pInfo->name, "SST39VF160"); | 165 | rb->strcpy(pInfo->name, "SST39VF160"); |
166 | return true; | 166 | return true; |
167 | } | 167 | } |
168 | else if (pInfo->id == 0x5B) | ||
169 | { | ||
170 | pInfo->size = 4096* 1024; /* 4 MiB */ | ||
171 | rb->strcpy(pInfo->name, "SST39VF3201"); | ||
172 | return true; | ||
173 | } | ||
168 | else | 174 | else |
169 | return false; | 175 | return false; |
170 | } | 176 | } |