summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-01-22 22:05:04 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-01-22 22:05:04 +0000
commitda76a3469437261bd8857c6eddeaafcc601f373e (patch)
tree33e6c461aeb03d28575166c5ed5002aaf8ea9741 /firmware/export/config.h
parent81df953da55e75632b5efbe676f2b348e11b2c4b (diff)
downloadrockbox-da76a3469437261bd8857c6eddeaafcc601f373e.tar.gz
rockbox-da76a3469437261bd8857c6eddeaafcc601f373e.zip
Use bus reset detection for all ARC OTG devices. Remove conflict from LV24020LP driver with some GPIO-by-number macros for PP502x. Start monitoring for USB stack once all core threads and queues are created otherwise queues will likely be registered after USB acks. Putting PP502x system_reboot in IRAM (unmapped, uncached) memory seems to help it work more consistently. Hopefully I got all the PP USB connect handlers in the right spot in irq_handler. If device seems unresponsive to cable, check there first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 15b137588e..7fb41d8d83 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -439,6 +439,8 @@
439#if CONFIG_CPU == IMX31L 439#if CONFIG_CPU == IMX31L
440/* Priority in bootloader is wanted */ 440/* Priority in bootloader is wanted */
441#define HAVE_PRIORITY_SCHEDULING 441#define HAVE_PRIORITY_SCHEDULING
442#define USB_STATUS_BY_EVENT
443#define USB_DETECT_BY_DRV
442#endif 444#endif
443 445
444#else /* !BOOTLOADER */ 446#else /* !BOOTLOADER */
@@ -452,13 +454,18 @@
452 454
453#define HAVE_SEMAPHORE_OBJECTS 455#define HAVE_SEMAPHORE_OBJECTS
454 456
455#ifdef TOSHIBA_GIGABEAT_F 457#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC
456#define HAVE_WAKEUP_OBJECTS 458#define USB_STATUS_BY_EVENT
459#define USB_DETECT_BY_DRV
460#if CONFIG_CPU != IMX31L
461#define INCLUDE_TIMEOUT_API
457#endif 462#endif
463#endif /* HAVE_USBSTACK */
458 464
459#endif /* BOOTLOADER */ 465#endif /* BOOTLOADER */
460 466
461#if defined(HAVE_USBSTACK) || (CONFIG_CPU == JZ4732) || (CONFIG_CPU == AS3525) 467#if defined(HAVE_USBSTACK) || (CONFIG_CPU == JZ4732) \
468 || (CONFIG_CPU == AS3525) || (CONFIG_CPU == S3C2440)
462#define HAVE_WAKEUP_OBJECTS 469#define HAVE_WAKEUP_OBJECTS
463#endif 470#endif
464 471