diff options
author | Mark Arigo <markarigo@gmail.com> | 2009-01-10 03:21:07 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2009-01-10 03:21:07 +0000 |
commit | 3482a55b83bf38c6e4a8fab6815d26a36c394c99 (patch) | |
tree | de90b7d81c0f34d758482d135fde13fb11686037 /bootloader/main-pp.c | |
parent | 21869a1dc344e10ce7f02cd47e2d6983d13dac7e (diff) |
Dual boot for the Philips HDD1630.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19741 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/main-pp.c')
-rw-r--r-- | bootloader/main-pp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c index b279628a29..efeecb80ab 100644 --- a/bootloader/main-pp.c +++ b/bootloader/main-pp.c @@ -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) { |