as3525*: enable USB stack in bootloader (but not USE_ROCKBOX_USB yet)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26927 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-06-18 17:39:22 +00:00
parent fd715fa95c
commit 23387e2759
8 changed files with 16 additions and 45 deletions

View file

@ -168,17 +168,15 @@
#define NUM_DRIVES 2 #define NUM_DRIVES 2
#define HAVE_HOTSWAP #define HAVE_HOTSWAP
#define USB_HANDLED_BY_OF
#define CONFIG_USBOTG USBOTG_AS3525 #define CONFIG_USBOTG USBOTG_AS3525
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7452 #define USB_PRODUCT_ID 0x7452
#endif /* BOOTLOADER */
/* Define this if you have adjustable CPU frequency */ /* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ #define HAVE_ADJUSTABLE_CPU_FREQ

View file

@ -164,19 +164,15 @@
/* Type of LCD */ /* Type of LCD */
#define CONFIG_LCD LCD_SSD1303 #define CONFIG_LCD LCD_SSD1303
#ifndef BOOTLOADER
#define USB_HANDLED_BY_OF
#define CONFIG_USBOTG USBOTG_AS3525 #define CONFIG_USBOTG USBOTG_AS3525
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7433 #define USB_PRODUCT_ID 0x7433
#endif /* BOOTLOADER */
/* Define this if you have adjustable CPU frequency */ /* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ #define HAVE_ADJUSTABLE_CPU_FREQ

View file

@ -172,19 +172,15 @@
/* Type of LCD */ /* Type of LCD */
#define CONFIG_LCD LCD_SSD1303 #define CONFIG_LCD LCD_SSD1303
#ifndef BOOTLOADER
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
/* USB On-the-go */ /* USB On-the-go */
#define CONFIG_USBOTG USBOTG_AS3525v2 #define CONFIG_USBOTG USBOTG_AS3525v2
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x74d1 #define USB_PRODUCT_ID 0x74d1
#endif /* BOOTLOADER */
/* Virtual LED (icon) */ /* Virtual LED (icon) */

View file

@ -167,18 +167,15 @@
/* Type of LCD */ /* Type of LCD */
#define CONFIG_LCD LCD_SSD1303 #define CONFIG_LCD LCD_SSD1303
#ifndef BOOTLOADER
#define USB_HANDLED_BY_OF
/* USB On-the-go */ /* USB On-the-go */
#define CONFIG_USBOTG USBOTG_AS3525v2 #define CONFIG_USBOTG USBOTG_AS3525v2
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7435 #define USB_PRODUCT_ID 0x7435
#endif /* BOOTLOADER */
/* Virtual LED (icon) */ /* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL #define CONFIG_LED LED_VIRTUAL

View file

@ -182,20 +182,16 @@
#define HAVE_HOTSWAP #define HAVE_HOTSWAP
#endif #endif
#ifndef BOOTLOADER
#define USB_HANDLED_BY_OF
/* USB On-the-go */ /* USB On-the-go */
#define CONFIG_USBOTG USBOTG_AS3525 #define CONFIG_USBOTG USBOTG_AS3525
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7423 #define USB_PRODUCT_ID 0x7423
#endif /* !BOOTLOADER */
/* Define this if you have adjustable CPU frequency */ /* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ #define HAVE_ADJUSTABLE_CPU_FREQ

View file

@ -185,20 +185,16 @@
#define HAVE_HOTSWAP #define HAVE_HOTSWAP
#endif #endif
#ifndef BOOTLOADER
#define USB_HANDLED_BY_OF
/* USB On-the-go */ /* USB On-the-go */
#define CONFIG_USBOTG USBOTG_AS3525 #define CONFIG_USBOTG USBOTG_AS3525
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x74c1 #define USB_PRODUCT_ID 0x74c1
#endif /* !BOOTLOADER */
/* Define this if you have adjustable CPU frequency */ /* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ #define HAVE_ADJUSTABLE_CPU_FREQ

View file

@ -185,20 +185,16 @@
#define HAVE_HOTSWAP #define HAVE_HOTSWAP
#endif #endif
#ifndef BOOTLOADER
#define USB_HANDLED_BY_OF
/* USB On-the-go */ /* USB On-the-go */
#define CONFIG_USBOTG USBOTG_AS3525v2 #define CONFIG_USBOTG USBOTG_AS3525v2
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x74c3 /* MSC = 0x74c3, MTP = 0x74c2 */ #define USB_PRODUCT_ID 0x74c3 /* MSC = 0x74c3, MTP = 0x74c2 */
#endif /* !BOOTLOADER */
/* Define this if you have adjustable CPU frequency */ /* Define this if you have adjustable CPU frequency */
//#define HAVE_ADJUSTABLE_CPU_FREQ //#define HAVE_ADJUSTABLE_CPU_FREQ

View file

@ -132,19 +132,15 @@
/* Offset ( in the firmware file's header ) to the real data */ /* Offset ( in the firmware file's header ) to the real data */
#define FIRMWARE_OFFSET_FILE_DATA 8 #define FIRMWARE_OFFSET_FILE_DATA 8
#ifndef BOOTLOADER
#define USB_HANDLED_BY_OF
#define CONFIG_USBOTG USBOTG_AS3525 #define CONFIG_USBOTG USBOTG_AS3525
/* enable these for the experimental usb stack */ /* enable these for the experimental usb stack */
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_HANDLED_BY_OF
//#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7431 #define USB_PRODUCT_ID 0x7431
#endif /* BOOTLOADER */
#define CONFIG_LCD LCD_SSD1815 #define CONFIG_LCD LCD_SSD1815
#define BOOTFILE_EXT "sansa" #define BOOTFILE_EXT "sansa"