1
0
Fork 0
forked from len0rd/rockbox

Gracefully shutdown unless firmware is found.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10879 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-09-04 16:06:11 +00:00
parent 8c834bd57c
commit 973ee5d8d9
2 changed files with 18 additions and 7 deletions

View file

@ -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)