1
0
Fork 0
forked from len0rd/rockbox

Replace USE_HIGH_SPEED with USB_NO_HIGH_SPEED, as high speed support is the normal case

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19274 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-11-30 15:53:36 +00:00
parent caaf3c0b97
commit b9c49fd474
5 changed files with 2 additions and 5 deletions

View file

@ -139,7 +139,6 @@
#define CONFIG_USBOTG USBOTG_ARC
/* enable these for the experimental usb stack */
#define USE_HIGH_SPEED
#define USE_ROCKBOX_USB
#define HAVE_USBSTACK
#define USB_STORAGE

View file

@ -58,7 +58,6 @@
#if 0 && !defined(SIMULATOR) /* Enable for USB driver test */
#define HAVE_USBSTACK
#define USE_HIGH_SPEED
#define USB_VENDOR_ID 0x0e21
#define USB_PRODUCT_ID 0x0750

View file

@ -17,7 +17,6 @@
#if 0 /* Enable for USB driver test */
#define HAVE_USBSTACK
#define USE_HIGH_SPEED
#define USB_VENDOR_ID 0x13d1
#define USB_PRODUCT_ID 0x1002
#endif

View file

@ -424,7 +424,7 @@ void usb_drv_init(void)
REG_PORTSC1 = (REG_PORTSC1 & ~PORTSCX_PHY_TYPE_SEL) | PORTSCX_PTS_ULPI;
#endif
#ifndef USE_HIGH_SPEED
#ifdef USB_NO_HIGH_SPEED
/* Force device to full speed */
/* See 32.9.5.9.2 */
REG_PORTSC1 |= PORTSCX_PORT_FORCE_FULL_SPEED;

View file

@ -66,7 +66,7 @@ static const struct usb_device_descriptor __attribute__((aligned(2)))
{
.bLength = sizeof(struct usb_device_descriptor),
.bDescriptorType = USB_DT_DEVICE,
#ifdef USE_HIGH_SPEED
#ifndef USB_NO_HIGH_SPEED
.bcdUSB = 0x0200,
#else
.bcdUSB = 0x0110,