Dual boot for the Philips HDD1630.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19741 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Mark Arigo 2009-01-10 03:21:07 +00:00
parent 21869a1dc3
commit 3482a55b83
2 changed files with 12 additions and 1 deletions

View file

@ -570,6 +570,17 @@ void* main(void)
}
#endif
#if defined(PHILIPS_HDD1630)
printf("Trying /System/OF.ebn");
rc=load_mi4(loadbuffer, "/System/OF.ebn", MAX_LOADSIZE);
if (rc < EOK) {
printf("Can't load /System/OF.ebn");
printf(strerror(rc));
} else {
return (void*)loadbuffer;
}
#endif
printf("Trying /System/OF.mi4");
rc=load_mi4(loadbuffer, "/System/OF.mi4", MAX_LOADSIZE);
if (rc < EOK) {

View file

@ -156,7 +156,7 @@ cpu:
mov r1, #WAKE
str r1, [r0]
#ifdef SANSA_C200
#if defined(SANSA_C200) || defined(PHILIPS_HDD1630)
/* Magic for loading the c200 OF */
ldr r0, =0xb00d10ad
mov r1, #0x700