summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-08 01:06:15 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-08 01:06:15 +0000
commitfaedcd4e7001f6fabb70920ba065be8e312fd1eb (patch)
tree28644f6f8080bee4ada6615acd4569f378bf5360
parentd851d98c815ff4bab61393fad460b9ccb27f34e3 (diff)
downloadrockbox-faedcd4e7001f6fabb70920ba065be8e312fd1eb.tar.gz
rockbox-faedcd4e7001f6fabb70920ba065be8e312fd1eb.zip
Allow flashing for players with alternative boot ROM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5538 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/firmware_flash.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c
index 28623981c1..3220888c13 100644
--- a/apps/plugins/firmware_flash.c
+++ b/apps/plugins/firmware_flash.c
@@ -111,7 +111,7 @@ typedef enum
/* result of the CheckBootROM() function */
typedef enum
{
- eBootROM, /* the supported boot ROM */
+ eBootROM, /* the supported boot ROM(s) */
eUnknown, /* unknown boot ROM */
eROMless, /* flash mapped to zero */
} tCheckROM;
@@ -558,7 +558,12 @@ tCheckROM CheckBootROM(void)
unsigned i;
boot_crc = crc_32((unsigned char*)0x0, 64*1024, 0xFFFFFFFF);
- if (boot_crc == 0x56DBA4EE) /* the known boot ROM */
+ if (boot_crc == 0x56DBA4EE /* the known boot ROM */
+#if PLATFORM_ID == ID_PLAYER
+ /* alternative boot ROM found in one single player so far */
+ || boot_crc == 0x358099E8
+#endif
+ )
return eBootROM;
/* check if ROM is a flash mirror */