replace USB_IPODSTYLE by USB_HANDLED_BY_OF as that's what it actually means. Fix various configs to use it correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20078 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3e7715d2f5
commit
9698c3bb5c
22 changed files with 13 additions and 38 deletions
|
@ -85,7 +85,7 @@
|
|||
#include "playback.h"
|
||||
|
||||
#ifdef BOOTFILE
|
||||
#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
|
||||
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
|
||||
#include "rolo.h"
|
||||
#include "yesno.h"
|
||||
#endif
|
||||
|
@ -569,13 +569,13 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame
|
|||
{
|
||||
system_flush();
|
||||
#ifdef BOOTFILE
|
||||
#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
|
||||
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
|
||||
check_bootfile(false); /* gets initial size */
|
||||
#endif
|
||||
#endif
|
||||
usb_screen();
|
||||
#ifdef BOOTFILE
|
||||
#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
|
||||
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
|
||||
check_bootfile(true);
|
||||
#endif
|
||||
#endif
|
||||
|
@ -691,7 +691,7 @@ int get_replaygain_mode(bool have_track_gain, bool have_album_gain)
|
|||
#endif
|
||||
|
||||
#ifdef BOOTFILE
|
||||
#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
|
||||
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
|
||||
/*
|
||||
memorize/compare details about the BOOTFILE
|
||||
we don't use dircache because it may not be up to date after
|
||||
|
|
|
@ -73,7 +73,7 @@ int get_replaygain_mode(bool have_track_gain, bool have_album_gain);
|
|||
int open_utf8(const char* pathname, int flags);
|
||||
|
||||
#ifdef BOOTFILE
|
||||
#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
|
||||
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
|
||||
void check_bootfile(bool do_rolo);
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -170,8 +170,6 @@
|
|||
#define FIRMWARE_OFFSET_FILE_CRC 0x0
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 0x8
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
#define HAVE_MULTIVOLUME
|
||||
#define HAVE_HOTSWAP
|
||||
|
|
|
@ -160,7 +160,7 @@
|
|||
#define FIRMWARE_OFFSET_FILE_CRC 0x0
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 0x8
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
#define USB_HANDLED_BY_OF
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
#define HAVE_MULTIVOLUME
|
||||
|
|
|
@ -170,6 +170,8 @@
|
|||
|
||||
#ifndef BOOTLOADER
|
||||
|
||||
#define USB_HANDLED_BY_OF
|
||||
|
||||
#if 0 /* disabled since there is no USB driver */
|
||||
|
||||
/* USB On-the-go */
|
||||
|
@ -183,6 +185,7 @@
|
|||
|
||||
#endif
|
||||
|
||||
|
||||
/* Virtual LED (icon) */
|
||||
#define CONFIG_LED LED_VIRTUAL
|
||||
|
||||
|
|
|
@ -167,8 +167,6 @@
|
|||
#define HAVE_HOTSWAP
|
||||
#endif
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@
|
|||
#define HAVE_HOTSWAP
|
||||
#endif
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
#define USB_HANDLED_BY_OF
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_AS3525
|
||||
|
|
|
@ -171,7 +171,7 @@
|
|||
#define HAVE_HOTSWAP
|
||||
#endif
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
#define USB_HANDLED_BY_OF
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_AS3525
|
||||
|
|
|
@ -159,8 +159,6 @@
|
|||
#define FIRMWARE_OFFSET_FILE_CRC 0x0
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 0x8
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -139,8 +139,6 @@
|
|||
#define FIRMWARE_OFFSET_FILE_CRC 0x0
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 0x8
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -173,8 +173,6 @@
|
|||
#define FIRMWARE_OFFSET_FILE_CRC 0x0
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 0x8
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
#define USB_HANDLED_BY_OF
|
||||
/* actually firewire only, but handled like USB */
|
||||
|
||||
/* Virtual LED (icon) */
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
#define USB_HANDLED_BY_OF
|
||||
/* actually both firewire and USB, USB isn't handled yet */
|
||||
|
||||
/* Virtual LED (icon) */
|
||||
|
|
|
@ -167,8 +167,6 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -144,8 +144,6 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -163,8 +163,6 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -170,8 +170,6 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -154,8 +154,6 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -168,8 +168,6 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
#define USB_IPODSTYLE
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -144,8 +144,6 @@
|
|||
/* We're able to shut off power to the HDD */
|
||||
#define HAVE_ATA_POWER_OFF
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -133,8 +133,6 @@
|
|||
/* Type of LCD TODO: hopefully the same as the x5 but check this*/
|
||||
#define CONFIG_LCD LCD_SA9200
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
|
@ -121,8 +121,6 @@
|
|||
/* Offset ( in the firmware file's header ) to the real data */
|
||||
#define FIRMWARE_OFFSET_FILE_DATA 8
|
||||
|
||||
/* #define USB_IPODSTYLE */
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_ARC
|
||||
|
||||
|
|
Loading…
Reference in a new issue