summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorJames Buren <braewoods+rb@braewoods.net>2020-10-29 21:29:05 +0000
committerWilliam Wilgus <me.theuser@yahoo.com>2020-10-29 23:01:25 +0000
commitf1bfbb52f1bc4f3afd12493c8e8b03317ae4058f (patch)
treef6b0d6006e44813aef1b5940b9e702f69aea2cf2 /apps/gui/list.c
parent96f82f828a0be5ce099a7589bebcaae7261eea20 (diff)
downloadrockbox-f1bfbb52f1bc4f3afd12493c8e8b03317ae4058f.tar.gz
rockbox-f1bfbb52f1bc4f3afd12493c8e8b03317ae4058f.zip
iriver_flash: revise cfi_read_id and cfi_get_flash_info
First neither of these functions can fail on supported targets so they have become void functions. Their return values were not being used anyway. Second support for other flash chips not even used on the supported targets has been removed. It appears they were only ever used on the discontinued Arch devices. Third cfi_read_id was restructured to remove obsolete code for error checking that is not necessary at all. The datasheets appear to indicate that the commands used cannot fail. Fourth cfi_get_flash_info was restructured to use a new approach to initializing the flash_info struct. It no longer initializes the structure twice. Fifth the relevant code has been updated to use the full 16 bits that are exposed by the flash rom ID interface. Change-Id: I25b1ada3d4621e2d80ac66d3d9a964964268cb3b
Diffstat (limited to 'apps/gui/list.c')
0 files changed, 0 insertions, 0 deletions