mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
Convert PortalPlayer iRivers to use USB-mode enabled bootloader. The H10 5/6GB already has a pre-boot USB mode (so it's a little redundant there) but building them the same way is simpler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29067 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
62207228f7
commit
bcc0f88372
7 changed files with 39 additions and 91 deletions
|
|
@ -698,6 +698,9 @@ Lyre prototype 1 */
|
|||
#define HAVE_PRIORITY_SCHEDULING
|
||||
#define USB_STATUS_BY_EVENT
|
||||
#define USB_DETECT_BY_DRV
|
||||
#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#else /* !BOOTLOADER */
|
||||
|
|
@ -721,9 +724,7 @@ Lyre prototype 1 */
|
|||
#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC
|
||||
#define USB_STATUS_BY_EVENT
|
||||
#define USB_DETECT_BY_DRV
|
||||
#if CONFIG_CPU != IMX31L
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
#endif
|
||||
#endif /* HAVE_USBSTACK && USBOTG_ARC */
|
||||
|
||||
#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_AS3525
|
||||
|
|
@ -912,22 +913,17 @@ Lyre prototype 1 */
|
|||
|
||||
#ifdef HAVE_HEADPHONE_DETECTION
|
||||
/* Timeout objects required if headphone detection is enabled */
|
||||
#ifndef INCLUDE_TIMEOUT_API
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
#endif
|
||||
#endif /* HAVE_HEADPHONE_DETECTION */
|
||||
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
/* Timeout objects required for kinetic list scrolling */
|
||||
#undef INCLUDE_TIMEOUT_API
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
#endif /* HAVE_TOUCHSCREEN */
|
||||
|
||||
#if defined(HAVE_USB_CHARGING_ENABLE) && defined(HAVE_USBSTACK)
|
||||
/* USB charging support in the USB stack requires timeout objects */
|
||||
#ifndef INCLUDE_TIMEOUT_API
|
||||
#define INCLUDE_TIMEOUT_API
|
||||
#endif
|
||||
#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */
|
||||
|
||||
#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue