summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-01-17 06:50:27 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-01-17 06:50:27 +0000
commitbcc0f88372fd2be986a5e279dd7e3bd556d6c984 (patch)
tree149db74c9cb02a1e4b219cb168053b22e41ae82b /firmware/export/config.h
parent62207228f717d0eb29aca5d1fbc155f151d6814e (diff)
downloadrockbox-bcc0f88372fd2be986a5e279dd7e3bd556d6c984.tar.gz
rockbox-bcc0f88372fd2be986a5e279dd7e3bd556d6c984.zip
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
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index c77e673351..95f38c5995 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -698,6 +698,9 @@ Lyre prototype 1 */
698#define HAVE_PRIORITY_SCHEDULING 698#define HAVE_PRIORITY_SCHEDULING
699#define USB_STATUS_BY_EVENT 699#define USB_STATUS_BY_EVENT
700#define USB_DETECT_BY_DRV 700#define USB_DETECT_BY_DRV
701#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC
702#define INCLUDE_TIMEOUT_API
703#endif
701#endif 704#endif
702 705
703#else /* !BOOTLOADER */ 706#else /* !BOOTLOADER */
@@ -721,9 +724,7 @@ Lyre prototype 1 */
721#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC 724#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC
722#define USB_STATUS_BY_EVENT 725#define USB_STATUS_BY_EVENT
723#define USB_DETECT_BY_DRV 726#define USB_DETECT_BY_DRV
724#if CONFIG_CPU != IMX31L
725#define INCLUDE_TIMEOUT_API 727#define INCLUDE_TIMEOUT_API
726#endif
727#endif /* HAVE_USBSTACK && USBOTG_ARC */ 728#endif /* HAVE_USBSTACK && USBOTG_ARC */
728 729
729#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_AS3525 730#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_AS3525
@@ -912,22 +913,17 @@ Lyre prototype 1 */
912 913
913#ifdef HAVE_HEADPHONE_DETECTION 914#ifdef HAVE_HEADPHONE_DETECTION
914/* Timeout objects required if headphone detection is enabled */ 915/* Timeout objects required if headphone detection is enabled */
915#ifndef INCLUDE_TIMEOUT_API
916#define INCLUDE_TIMEOUT_API 916#define INCLUDE_TIMEOUT_API
917#endif
918#endif /* HAVE_HEADPHONE_DETECTION */ 917#endif /* HAVE_HEADPHONE_DETECTION */
919 918
920#ifdef HAVE_TOUCHSCREEN 919#ifdef HAVE_TOUCHSCREEN
921/* Timeout objects required for kinetic list scrolling */ 920/* Timeout objects required for kinetic list scrolling */
922#undef INCLUDE_TIMEOUT_API
923#define INCLUDE_TIMEOUT_API 921#define INCLUDE_TIMEOUT_API
924#endif /* HAVE_TOUCHSCREEN */ 922#endif /* HAVE_TOUCHSCREEN */
925 923
926#if defined(HAVE_USB_CHARGING_ENABLE) && defined(HAVE_USBSTACK) 924#if defined(HAVE_USB_CHARGING_ENABLE) && defined(HAVE_USBSTACK)
927/* USB charging support in the USB stack requires timeout objects */ 925/* USB charging support in the USB stack requires timeout objects */
928#ifndef INCLUDE_TIMEOUT_API
929#define INCLUDE_TIMEOUT_API 926#define INCLUDE_TIMEOUT_API
930#endif
931#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */ 927#endif /* HAVE_USB_CHARGING_ENABLE && HAVE_USBSTACK */
932 928
933#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) 929#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND)