summaryrefslogtreecommitdiffstats
path: root/firmware/usb.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-10-24 11:58:00 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-10-24 11:58:00 +0000
commit34fc7465ac33cb981bfb8c3aa260668d62c101e6 (patch)
treeaa2e5e9a8bb41617f97dd19484bc3eb1e632e007 /firmware/usb.c
parent097d7fb689cc29bb58d13aec94e38b0b08fffb0e (diff)
downloadrockbox-34fc7465ac33cb981bfb8c3aa260668d62c101e6.tar.gz
rockbox-34fc7465ac33cb981bfb8c3aa260668d62c101e6.tar.bz2
rockbox-34fc7465ac33cb981bfb8c3aa260668d62c101e6.zip
AMSv2: fix bootloader build with USB enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28342 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index baf6af7d69..af16b7d4bd 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -52,7 +52,8 @@
(defined(HAVE_USBSTACK) && (defined(IPOD_NANO2G))) || \
defined(CPU_TCC77X) || defined(CPU_TCC780X) || \
(CONFIG_USBOTG == USBOTG_JZ4740) || \
- (defined(USE_ROCKBOX_USB) && CONFIG_USBOTG == USBOTG_AS3525)
+ (defined(USE_ROCKBOX_USB) && CONFIG_USBOTG == USBOTG_AS3525) || \
+ (defined(USE_ROCKBOX_USB) && CONFIG_USBOTG == USBOTG_AS3525v2)
#define USB_FULL_INIT
#endif