1
0
Fork 0
forked from len0rd/rockbox

e200v1 seems to be ok using USB-enabled bootloader. Also, include the bootloader USB .lds into the boot.lds instead of pasting into every one to keep things sane for now-- commented upon inside.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29062 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2011-01-16 01:40:15 +00:00
parent 5bf25bbd4f
commit 76083359e0
5 changed files with 150 additions and 136 deletions

View file

@ -1,5 +1,10 @@
#include "config.h"
/* Can't link all Sansa PP devices the same way at this time */
#ifdef HAVE_BOOTLOADER_USB_MODE
#include "../boot-pp502x-bl-usb.lds"
#else /* !HAVE_BOOTLOADER_USB_MODE */
ENTRY(start)
OUTPUT_FORMAT(elf32-littlearm)
OUTPUT_ARCH(arm)
@ -73,3 +78,4 @@ SECTIONS
_end = .;
} > DRAM
}
#endif /* HAVE_BOOTLOADER_USB_MODE */

View file

@ -272,6 +272,10 @@ void clickwheel_int(void)
delta = 0x7ful << 24;
}
}
#else
void clickwheel_int(void)
{
}
#endif /* BOOTLOADER */
/* device buttons */