diff options
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525v2.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525.c b/firmware/target/arm/as3525/usb-drv-as3525.c index 15955276ab..2cb1318f72 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525.c +++ b/firmware/target/arm/as3525/usb-drv-as3525.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "usb_core.h" | 35 | #include "usb_core.h" |
36 | #include "string.h" | 36 | #include "string.h" |
37 | 37 | ||
38 | #if defined(USE_ROCKBOX_USB) && CONFIG_USBOTG == USBOTG_AS3525 | 38 | #if defined(USE_ROCKBOX_USB) |
39 | 39 | ||
40 | #define USB_NUM_EPS 4 | 40 | #define USB_NUM_EPS 4 |
41 | 41 | ||
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c index 9afe8255e5..83a5701a11 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525v2.c +++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c | |||
@@ -44,7 +44,9 @@ struct usb_endpoint | |||
44 | bool busy; | 44 | bool busy; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | #if 0 | ||
47 | static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS*2]; | 48 | static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS*2]; |
49 | #endif | ||
48 | 50 | ||
49 | void usb_attach(void) | 51 | void usb_attach(void) |
50 | { | 52 | { |
@@ -116,7 +118,9 @@ static void core_reset(void) | |||
116 | i++; | 118 | i++; |
117 | 119 | ||
118 | if(USB_GRSTCTL & USB_GRSTCTL_csftrst) | 120 | if(USB_GRSTCTL & USB_GRSTCTL_csftrst) |
121 | { | ||
119 | logf("oops, usb core soft reset hang :("); | 122 | logf("oops, usb core soft reset hang :("); |
123 | } | ||
120 | 124 | ||
121 | /* Wait for 3 PHY Clocks */ | 125 | /* Wait for 3 PHY Clocks */ |
122 | /*mdelay(100);*/ | 126 | /*mdelay(100);*/ |
@@ -256,6 +260,5 @@ bool usb_drv_stalled(int ep, bool in) | |||
256 | (void) ep; | 260 | (void) ep; |
257 | (void) in; | 261 | (void) in; |
258 | return true; | 262 | return true; |
259 | return true; | ||
260 | } | 263 | } |
261 | 264 | ||