diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-04 16:06:11 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-04 16:06:11 +0000 |
commit | 973ee5d8d9ecb16bfbe69b9869f7dd57159765c2 (patch) | |
tree | a4b2ab52a490a02f7cc0a3c54d457a06f8f08a15 /apps | |
parent | 8c834bd57c9d90128741b0ab9060eac233f5a2c7 (diff) |
Gracefully shutdown unless firmware is found.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10879 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/iriver_flash.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c index 1cae1767a9..8cbf75ebd8 100644 --- a/apps/plugins/iriver_flash.c +++ b/apps/plugins/iriver_flash.c @@ -351,11 +351,12 @@ bool detect_flashed_rockbox(void) return true; } -unsigned long valid_bootloaders[][2] = - { - { 62332, 0x77395351 }, - { 0, 0 } - }; +unsigned long valid_bootloaders[][2] = { + /* Size-8 CRC32 */ + { 62332, 0x77395351 }, /* Pre-release v7 */ + { 63340, 0xc41857b6 }, /* Pre-release v7, fixed crash unless firmware found. */ + { 0, 0 } +}; bool detect_valid_bootloader(const unsigned char *addr, int len) |