diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-19 13:41:25 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-19 13:41:25 +0000 |
commit | 616c98b38f6ddac0ac3dde8ec0fa248f835717e2 (patch) | |
tree | 5eeeabb85fbefa162a438edca88611c1bc688269 /firmware/export/config-gigabeat-s.h | |
parent | cef6399c4c3bcaa35733bdab8b9016b66b71a6f0 (diff) | |
download | rockbox-616c98b38f6ddac0ac3dde8ec0fa248f835717e2.tar.gz rockbox-616c98b38f6ddac0ac3dde8ec0fa248f835717e2.zip |
USB detection changes. c200/e200: Consider USB to be powered when charger is plugged but detect USB connection by bus reset. When received, disconnect and restart the driver fully enabled. imx31: Fix hack used to make initial connect succeeded-- set PHY type before initial reset. General: Move some target code out of usb-drv-arc.c and implement it in respective usb sources and CPU headers so things stay clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19797 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-gigabeat-s.h')
-rw-r--r-- | firmware/export/config-gigabeat-s.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/config-gigabeat-s.h b/firmware/export/config-gigabeat-s.h index 64f351c1ce..9e6029f00b 100644 --- a/firmware/export/config-gigabeat-s.h +++ b/firmware/export/config-gigabeat-s.h | |||
@@ -176,10 +176,12 @@ | |||
176 | /* USB On-the-go */ | 176 | /* USB On-the-go */ |
177 | #define CONFIG_USBOTG USBOTG_ARC | 177 | #define CONFIG_USBOTG USBOTG_ARC |
178 | 178 | ||
179 | /* enable these for the experimental usb stack */ | 179 | /* enable these for the usb stack */ |
180 | #define USE_ROCKBOX_USB | 180 | #define USE_ROCKBOX_USB |
181 | #define HAVE_USBSTACK | 181 | #define HAVE_USBSTACK |
182 | #define USB_STORAGE | 182 | #define USB_STORAGE |
183 | /* usb stack and driver settings */ | ||
184 | #define USB_PORTSCX_PHY_TYPE PORTSCX_PTS_ULPI | ||
183 | #define USB_VENDOR_ID 0x0930 | 185 | #define USB_VENDOR_ID 0x0930 |
184 | #define USB_PRODUCT_ID 0x0010 | 186 | #define USB_PRODUCT_ID 0x0010 |
185 | 187 | ||
@@ -201,7 +203,7 @@ | |||
201 | /* Offset ( in the firmware file's header ) to the real data */ | 203 | /* Offset ( in the firmware file's header ) to the real data */ |
202 | #define FIRMWARE_OFFSET_FILE_DATA 8 | 204 | #define FIRMWARE_OFFSET_FILE_DATA 8 |
203 | 205 | ||
204 | #define HAVE_SERIAL | 206 | //#define HAVE_SERIAL |
205 | #define HAVE_VOLUME_IN_LIST | 207 | #define HAVE_VOLUME_IN_LIST |
206 | 208 | ||
207 | /*Remove Comments from UART_INT to enable the UART interrupts,*/ | 209 | /*Remove Comments from UART_INT to enable the UART interrupts,*/ |