move the CONFIG_LED #define out into config.h as all but 3 targets actually have a real one (and apparently lots had it #defined in a !SIMULATOR block! )

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22644 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2009-09-06 17:12:09 +00:00
parent ef7018a7ff
commit 3fa1684301
47 changed files with 2 additions and 140 deletions

View file

@ -114,10 +114,7 @@
/* The start address index for ROM builds */ /* The start address index for ROM builds */
/* #define ROM_START 0x11010 for behind original Archos */ /* #define ROM_START 0x11010 for behind original Archos */
#define ROM_START 0x7010 /* for behind BootBox */ #define ROM_START 0x7010 /* for behind BootBox */
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_S6B33B2 #define CONFIG_LCD LCD_S6B33B2

View file

@ -191,9 +191,6 @@
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7451 #define USB_PRODUCT_ID 0x7451
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -184,9 +184,6 @@
#endif /* BOOTLOADER */ #endif /* BOOTLOADER */
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -184,9 +184,6 @@
#endif /* BOOTLOADER */ #endif /* BOOTLOADER */
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -165,9 +165,6 @@
/* 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
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_COWOND2 #define CONFIG_LCD LCD_COWOND2
#define BOOTFILE_EXT "d2" #define BOOTFILE_EXT "d2"

View file

@ -147,9 +147,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF #define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* define this if the backlight can be set to a brightness */ /* define this if the backlight can be set to a brightness */
//#define __BACKLIGHT_INIT //#define __BACKLIGHT_INIT

View file

@ -146,9 +146,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF #define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* define this if the backlight can be set to a brightness */ /* define this if the backlight can be set to a brightness */
//#define __BACKLIGHT_INIT //#define __BACKLIGHT_INIT

View file

@ -203,9 +203,6 @@
/** Port-specific settings **/ /** Port-specific settings **/
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Main LCD backlight brightness range and defaults */ /* Main LCD backlight brightness range and defaults */
#define MIN_BRIGHTNESS_SETTING 1 #define MIN_BRIGHTNESS_SETTING 1
#define MAX_BRIGHTNESS_SETTING 12 #define MAX_BRIGHTNESS_SETTING 12

View file

@ -195,9 +195,6 @@
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7423 #define USB_PRODUCT_ID 0x7423
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -193,9 +193,6 @@
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7423 #define USB_PRODUCT_ID 0x7423
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -194,9 +194,6 @@
/* Define this to add support for ATA DMA */ /* Define this to add support for ATA DMA */
#define HAVE_ATA_DMA #define HAVE_ATA_DMA
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_GIGABEAT #define CONFIG_LCD LCD_GIGABEAT
/* define this if the backlight can be set to a brightness */ /* define this if the backlight can be set to a brightness */

View file

@ -175,9 +175,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF #define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_GIGABEAT #define CONFIG_LCD LCD_GIGABEAT
/* define this if the backlight can be set to a brightness */ /* define this if the backlight can be set to a brightness */

View file

@ -174,9 +174,6 @@
#define USB_VENDOR_ID 0x0B70 #define USB_VENDOR_ID 0x0B70
#define USB_PRODUCT_ID 0x00BA #define USB_PRODUCT_ID 0x00BA
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -153,9 +153,6 @@
#define USE_ROCKBOX_USB #define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0B70 #define USB_VENDOR_ID 0x0B70
#define USB_PRODUCT_ID 0x00BA #define USB_PRODUCT_ID 0x00BA
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -156,9 +156,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF #define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_H300 #define CONFIG_LCD LCD_H300
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */

View file

@ -188,9 +188,6 @@
#define USB_VENDOR_ID 0x0471 #define USB_VENDOR_ID 0x0471
#define USB_PRODUCT_ID 0x014C #define USB_PRODUCT_ID 0x014C
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -150,9 +150,6 @@
/* 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
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_IAUDIO67 #define CONFIG_LCD LCD_IAUDIO67
#define BOOTFILE_EXT "iaudio" #define BOOTFILE_EXT "iaudio"

View file

@ -159,9 +159,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF #define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -162,9 +162,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF #define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -58,9 +58,6 @@
/* Define this if you have the WM8975 audio codec */ /* Define this if you have the WM8975 audio codec */
/* #define HAVE_WM8975 */ /* #define HAVE_WM8975 */
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
#define HAVE_LCD_CONTRAST #define HAVE_LCD_CONTRAST
#define MIN_CONTRAST_SETTING 5 #define MIN_CONTRAST_SETTING 5

View file

@ -157,9 +157,6 @@
#define USB_HANDLED_BY_OF #define USB_HANDLED_BY_OF
/* actually firewire only, but handled like USB */ /* actually firewire only, but handled like USB */
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -161,9 +161,6 @@
#define USB_HANDLED_BY_OF #define USB_HANDLED_BY_OF
/* actually both firewire and USB, USB isn't handled yet */ /* actually both firewire and USB, USB isn't handled yet */
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -161,9 +161,6 @@
#define USB_VENDOR_ID 0x05ac #define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1204 #define USB_PRODUCT_ID 0x1204
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -180,9 +180,6 @@
#define USB_VENDOR_ID 0x05ac #define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1205 #define USB_PRODUCT_ID 0x1205
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -187,10 +187,6 @@
#define USB_VENDOR_ID 0x05ac #define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x1205 #define USB_PRODUCT_ID 0x1205
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -171,9 +171,6 @@
#define USB_VENDOR_ID 0x05ac #define USB_VENDOR_ID 0x05ac
#define USB_PRODUCT_ID 0x120a #define USB_PRODUCT_ID 0x120a
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -142,9 +142,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
//#define HAVE_ATA_POWER_OFF //#define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -129,9 +129,6 @@
/* #define ROM_START 0x11010 for behind original Archos */ /* #define ROM_START 0x11010 for behind original Archos */
#define ROM_START 0x7010 /* for behind BootBox */ #define ROM_START 0x7010 /* for behind BootBox */
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_SSD1815 #define CONFIG_LCD LCD_SSD1815
#define BOOTFILE_EXT "logik" #define BOOTFILE_EXT "logik"

View file

@ -115,9 +115,6 @@
/* 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
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_SSD1815 #define CONFIG_LCD LCD_SSD1815
#define BOOTFILE_EXT "m200" #define BOOTFILE_EXT "m200"

View file

@ -152,9 +152,6 @@
#endif /* BOOTLOADER */ #endif /* BOOTLOADER */
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_SSD1815 #define CONFIG_LCD LCD_SSD1815
#define BOOTFILE_EXT "sansa" #define BOOTFILE_EXT "sansa"

View file

@ -142,9 +142,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
//#define HAVE_ATA_POWER_OFF //#define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -142,9 +142,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
//#define HAVE_ATA_POWER_OFF //#define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -142,9 +142,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
//#define HAVE_ATA_POWER_OFF //#define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -179,9 +179,6 @@
#define USB_VENDOR_ID 0x07B4 #define USB_VENDOR_ID 0x07B4
#define USB_PRODUCT_ID 0x0280 #define USB_PRODUCT_ID 0x0280
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -230,9 +230,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF #define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* define this if the backlight can be set to a brightness */ /* define this if the backlight can be set to a brightness */
#define __BACKLIGHT_INIT #define __BACKLIGHT_INIT

View file

@ -192,9 +192,6 @@
/* define this if you have a flash memory storage */ /* define this if you have a flash memory storage */
#define HAVE_FLASH_STORAGE #define HAVE_FLASH_STORAGE
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -148,9 +148,6 @@
/* define this if you have a flash memory storage */ /* define this if you have a flash memory storage */
#define HAVE_FLASH_STORAGE #define HAVE_FLASH_STORAGE
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* define this if the backlight can be set to a brightness */ /* define this if the backlight can be set to a brightness */
#define __BACKLIGHT_INIT #define __BACKLIGHT_INIT

View file

@ -131,9 +131,6 @@
/* define this if media can be exchanged on the fly */ /* define this if media can be exchanged on the fly */
#define HAVE_HOTSWAP #define HAVE_HOTSWAP
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_SSD1815 #define CONFIG_LCD LCD_SSD1815
#define BOOTFILE_EXT "ajz" #define BOOTFILE_EXT "ajz"

View file

@ -112,9 +112,6 @@
/* define this if media can be exchanged on the fly */ /* define this if media can be exchanged on the fly */
#define HAVE_HOTSWAP #define HAVE_HOTSWAP
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
#define CONFIG_LCD LCD_SSD1815 #define CONFIG_LCD LCD_SSD1815
#define BOOTFILE_EXT "ajz" #define BOOTFILE_EXT "ajz"

View file

@ -177,9 +177,6 @@
#define USE_ROCKBOX_USB #define USE_ROCKBOX_USB
#endif #endif
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -131,8 +131,6 @@
#define HAVE_USBSTACK #define HAVE_USBSTACK
#define USB_VENDOR_ID 0x07B4 #define USB_VENDOR_ID 0x07B4
#define USB_PRODUCT_ID 0x0280 #define USB_PRODUCT_ID 0x0280
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -178,9 +178,6 @@
#define USB_VENDOR_ID 0x0781 #define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x74b1 #define USB_PRODUCT_ID 0x74b1
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -169,9 +169,6 @@
#define USB_VENDOR_ID 0x04e8 #define USB_VENDOR_ID 0x04e8
#define USB_PRODUCT_ID 0x5023 #define USB_PRODUCT_ID 0x5023
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -175,9 +175,6 @@
#define USB_VENDOR_ID 0x04e8 #define USB_VENDOR_ID 0x04e8
#define USB_PRODUCT_ID 0x5022 #define USB_PRODUCT_ID 0x5022
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -173,9 +173,6 @@
#define USB_VENDOR_ID 0x04e8 #define USB_VENDOR_ID 0x04e8
#define USB_PRODUCT_ID 0x5024 #define USB_PRODUCT_ID 0x5024
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* 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

@ -144,9 +144,6 @@
/* Define this if you have ATA power-off control */ /* Define this if you have ATA power-off control */
//#define HAVE_ATA_POWER_OFF //#define HAVE_ATA_POWER_OFF
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL
/* Offset ( in the firmware file's header ) to the file CRC */ /* Offset ( in the firmware file's header ) to the file CRC */
#define FIRMWARE_OFFSET_FILE_CRC 0 #define FIRMWARE_OFFSET_FILE_CRC 0

View file

@ -479,7 +479,7 @@ Lyre prototype 1*/
#endif #endif
#ifndef CONFIG_LED #ifndef CONFIG_LED
#define CONFIG_LED 0 #define CONFIG_LED LED_VIRTUAL
#endif #endif
#ifndef CONFIG_CHARGING #ifndef CONFIG_CHARGING