summaryrefslogtreecommitdiffstats
path: root/firmware/usb.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-10-26 16:32:53 -0400
committerMichael Sevakis <jethead71@rockbox.org>2017-10-26 16:32:53 -0400
commite4a46c8d8805e7a0e7a49de00bd52d9e5681f429 (patch)
tree538f56d0a1904ceba1fd629d0fe02244e2df503e /firmware/usb.c
parent1654efc31339972d0e6bd41a499fcffc0a45822e (diff)
downloadrockbox-e4a46c8d8805e7a0e7a49de00bd52d9e5681f429.tar.gz
rockbox-e4a46c8d8805e7a0e7a49de00bd52d9e5681f429.tar.bz2
rockbox-e4a46c8d8805e7a0e7a49de00bd52d9e5681f429.zip
Fix a few missed things in 16454efc (and hopefully clear the red).
Change-Id: I2ce88e4c41e6e08efbfbdf261122318dfb0f8b0f
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index 5e3795dd48..562734c84a 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -45,10 +45,13 @@
/* Conditions under which we want the entire driver */
#if !defined(BOOTLOADER) || (CONFIG_CPU == SH7034) || \
(defined(HAVE_USBSTACK) && defined(HAVE_BOOTLOADER_USB_MODE)) || \
+ (defined(HAVE_USBSTACK) && defined(IPOD_NANO2G)) || \
(defined(HAVE_USBSTACK) && (defined(CREATIVE_ZVx))) || \
(defined(HAVE_USBSTACK) && (defined(OLYMPUS_MROBE_500))) || \
defined(CPU_TCC77X) || defined(CPU_TCC780X) || \
(CONFIG_USBOTG == USBOTG_JZ4740)
+/* TODO: condition should be reset to be only the original
+ (defined(HAVE_USBSTACK) && defined(HAVE_BOOTLOADER_USB_MODE)) */
#define USB_FULL_INIT
#endif