mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
usb: finally get rid of USE_ROCKBOX_USB in Sansa bootloader, use bootloader usb
For some reason, the bootloader and config files didn't define HAVE_BOOTLOADER_USB_MODE, also remove the special cases in usb.c which they implied. Change-Id: I68c29be7d03627e64cac4ff7678e0c211e087a8c
This commit is contained in:
parent
246026cfcc
commit
761e7987c8
11 changed files with 18 additions and 13 deletions
|
|
@ -187,6 +187,7 @@
|
|||
//#define USB_ENABLE_SERIAL
|
||||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x7452
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
#define HAVE_USB_HID_MOUSE
|
||||
|
||||
/* Define this if you have adjustable CPU frequency */
|
||||
|
|
|
|||
|
|
@ -182,6 +182,7 @@
|
|||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x7433
|
||||
#define HAVE_USB_HID_MOUSE
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
/* Define this if you have adjustable CPU frequency */
|
||||
#define HAVE_ADJUSTABLE_CPU_FREQ
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
#define HAVE_USBSTACK
|
||||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x74d1
|
||||
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
/* Virtual LED (icon) */
|
||||
#define CONFIG_LED LED_VIRTUAL
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@
|
|||
#define HAVE_USBSTACK
|
||||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x7435
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
/* Virtual LED (icon) */
|
||||
#define CONFIG_LED LED_VIRTUAL
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@
|
|||
#define HAVE_USBSTACK
|
||||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x74e5
|
||||
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
/* Virtual LED (icon) */
|
||||
#define CONFIG_LED LED_VIRTUAL
|
||||
|
|
|
|||
|
|
@ -204,6 +204,7 @@
|
|||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x7423
|
||||
#define HAVE_USB_HID_MOUSE
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
/* Define this if you have adjustable CPU frequency */
|
||||
#define HAVE_ADJUSTABLE_CPU_FREQ
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@
|
|||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x74c1
|
||||
#define HAVE_USB_HID_MOUSE
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
/* Define this if you have adjustable CPU frequency */
|
||||
#define HAVE_ADJUSTABLE_CPU_FREQ
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@
|
|||
#define HAVE_USBSTACK
|
||||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x74c3 /* MSC = 0x74c3, MTP = 0x74c2 */
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
/* Define this if you have adjustable CPU frequency */
|
||||
//#define HAVE_ADJUSTABLE_CPU_FREQ
|
||||
|
|
|
|||
|
|
@ -148,6 +148,7 @@
|
|||
#define USB_VENDOR_ID 0x0781
|
||||
#define USB_PRODUCT_ID 0x7431
|
||||
#define HAVE_USB_HID_MOUSE
|
||||
#define HAVE_BOOTLOADER_USB_MODE
|
||||
|
||||
#define CONFIG_LCD LCD_SSD1815
|
||||
|
||||
|
|
|
|||
|
|
@ -48,10 +48,8 @@
|
|||
(defined(HAVE_USBSTACK) && defined(HAVE_BOOTLOADER_USB_MODE)) || \
|
||||
(defined(HAVE_USBSTACK) && (defined(CREATIVE_ZVx))) || \
|
||||
(defined(HAVE_USBSTACK) && (defined(OLYMPUS_MROBE_500))) || \
|
||||
(defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_S3C6400X) || \
|
||||
defined(CPU_TCC77X) || defined(CPU_TCC780X) || \
|
||||
(CONFIG_USBOTG == USBOTG_JZ4740) || \
|
||||
(defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_AS3525)
|
||||
(CONFIG_USBOTG == USBOTG_JZ4740)
|
||||
#define USB_FULL_INIT
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue