summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h32
1 files changed, 11 insertions, 21 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 45d974a96f..440c0faef3 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -40,7 +40,6 @@
40#define SH7034 7034 40#define SH7034 7034
41#define MCF5249 5249 41#define MCF5249 5249
42#define MCF5250 5250 42#define MCF5250 5250
43#define TCC730 730 /* lacking a proper abbrivation */
44#define PP5002 5002 43#define PP5002 5002
45#define PP5020 5020 44#define PP5020 5020
46#define PNX0101 101 45#define PNX0101 101
@@ -48,11 +47,10 @@
48#define PP5024 5024 47#define PP5024 5024
49 48
50/* CONFIG_KEYPAD */ 49/* CONFIG_KEYPAD */
51#define PLAYER_PAD 0 50#define PLAYER_PAD 1
52#define RECORDER_PAD 1 51#define RECORDER_PAD 2
53#define ONDIO_PAD 2 52#define ONDIO_PAD 3
54#define IRIVER_H100_PAD 3 53#define IRIVER_H100_PAD 4
55#define GMINI100_PAD 4
56#define IRIVER_H300_PAD 5 54#define IRIVER_H300_PAD 5
57#define IAUDIO_X5_PAD 6 55#define IAUDIO_X5_PAD 6
58#define IPOD_4G_PAD 7 56#define IPOD_4G_PAD 7
@@ -83,7 +81,6 @@
83#define CHARGING_CONTROL 3 /* Software controlled charging */ 81#define CHARGING_CONTROL 3 /* Software controlled charging */
84 82
85/* CONFIG_LCD */ 83/* CONFIG_LCD */
86#define LCD_GMINI100 0
87#define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ 84#define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */
88#define LCD_SSD1801 2 /* as used by Archos Player/Studio */ 85#define LCD_SSD1801 2 /* as used by Archos Player/Studio */
89#define LCD_S1D15E06 3 /* as used by iRiver H100 series */ 86#define LCD_S1D15E06 3 /* as used by iRiver H100 series */
@@ -111,11 +108,10 @@
111#define RGB565SWAPPED 3553 108#define RGB565SWAPPED 3553
112 109
113/* CONFIG_BACKLIGHT */ 110/* CONFIG_BACKLIGHT */
114#define BL_PA14_LO 0 /* Player, PA14 low active */ 111#define BL_PA14_LO 1 /* Player, PA14 low active */
115#define BL_RTC 1 /* Recorder, RTC square wave output */ 112#define BL_RTC 2 /* Recorder, RTC square wave output */
116#define BL_PA14_HI 2 /* Ondio, PA14 high active */ 113#define BL_PA14_HI 3 /* Ondio, PA14 high active */
117#define BL_IRIVER_H100 3 /* IRiver GPIO */ 114#define BL_IRIVER_H100 4 /* IRiver GPIO */
118#define BL_GMINI 4 /* Archos GMini */
119#define BL_IPOD4G 5 /* Apple iPod 4G */ 115#define BL_IPOD4G 5 /* Apple iPod 4G */
120#define BL_IPODNANO 6 /* Apple iPod Nano and iPod Video*/ 116#define BL_IPODNANO 6 /* Apple iPod Nano and iPod Video*/
121#define BL_IPOD3G 7 /* Apple iPod 3g with dock */ 117#define BL_IPOD3G 7 /* Apple iPod 3g with dock */
@@ -129,9 +125,8 @@
129#define BL_TPJ1022 15 /* Tatung Elio TPJ-1022 */ 125#define BL_TPJ1022 15 /* Tatung Elio TPJ-1022 */
130 126
131/* CONFIG_I2C */ 127/* CONFIG_I2C */
132#define I2C_PLAYREC 0 /* Archos Player/Recorder style */ 128#define I2C_PLAYREC 1 /* Archos Player/Recorder style */
133#define I2C_ONDIO 1 /* Ondio style */ 129#define I2C_ONDIO 2 /* Ondio style */
134#define I2C_GMINI 2 /* Gmini style */
135#define I2C_COLDFIRE 3 /* Coldfire style */ 130#define I2C_COLDFIRE 3 /* Coldfire style */
136#define I2C_PP5002 4 /* PP5002 style */ 131#define I2C_PP5002 4 /* PP5002 style */
137#define I2C_PP5020 5 /* PP5020 style */ 132#define I2C_PP5020 5 /* PP5020 style */
@@ -139,7 +134,7 @@
139#define I2C_S3C2440 7 134#define I2C_S3C2440 7
140 135
141/* CONFIG_LED */ 136/* CONFIG_LED */
142#define LED_REAL 1 /* SW controlled LED (Archos recorders, player, Gmini) */ 137#define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */
143#define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */ 138#define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */
144/* else HW controlled LED (iRiver H1x0) */ 139/* else HW controlled LED (iRiver H1x0) */
145 140
@@ -180,10 +175,6 @@
180#include "config-h120.h" 175#include "config-h120.h"
181#elif defined(IRIVER_H300) 176#elif defined(IRIVER_H300)
182#include "config-h300.h" 177#include "config-h300.h"
183#elif defined(ARCHOS_GMINI120)
184#include "config-gmini120.h"
185#elif defined(ARCHOS_GMINISP)
186#include "config-gminisp.h"
187#elif defined(IAUDIO_X5) 178#elif defined(IAUDIO_X5)
188#include "config-iaudiox5.h" 179#include "config-iaudiox5.h"
189#elif defined(IPOD_COLOR) 180#elif defined(IPOD_COLOR)
@@ -286,7 +277,6 @@
286 defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ 277 defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
287 (CONFIG_CPU == PP5020) || /* iPod and H10: core, plugins, codecs */ \ 278 (CONFIG_CPU == PP5020) || /* iPod and H10: core, plugins, codecs */ \
288 (CONFIG_CPU == PP5002) || /* iPod: core, plugins, codecs */ \ 279 (CONFIG_CPU == PP5002) || /* iPod: core, plugins, codecs */ \
289 (CONFIG_CPU == TCC730) || /* CalmRISC16: core, (plugins, codecs) */ \
290 (CONFIG_CPU == PNX0101)) 280 (CONFIG_CPU == PNX0101))
291#define ICODE_ATTR __attribute__ ((section(".icode"))) 281#define ICODE_ATTR __attribute__ ((section(".icode")))
292#define ICONST_ATTR __attribute__ ((section(".irodata"))) 282#define ICONST_ATTR __attribute__ ((section(".irodata")))