diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 05938d14ec..538c75d08a 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -51,6 +51,8 @@ | |||
51 | #define DSC25 25 | 51 | #define DSC25 25 |
52 | #define DM320 320 | 52 | #define DM320 320 |
53 | #define IMX31L 31 | 53 | #define IMX31L 31 |
54 | #define TCC771L 771 | ||
55 | #define TCC773L 773 | ||
54 | 56 | ||
55 | /* CONFIG_KEYPAD */ | 57 | /* CONFIG_KEYPAD */ |
56 | #define PLAYER_PAD 1 | 58 | #define PLAYER_PAD 1 |
@@ -71,6 +73,8 @@ | |||
71 | #define ARCHOS_AV300_PAD 16 | 73 | #define ARCHOS_AV300_PAD 16 |
72 | #define MROBE500_PAD 17 | 74 | #define MROBE500_PAD 17 |
73 | #define GIGABEAT_S_PAD 18 | 75 | #define GIGABEAT_S_PAD 18 |
76 | #define LOGIK_DAX_PAD 19 | ||
77 | #define IAUDIO67_PAD 20 | ||
74 | 78 | ||
75 | /* CONFIG_REMOTE_KEYPAD */ | 79 | /* CONFIG_REMOTE_KEYPAD */ |
76 | #define H100_REMOTE 1 | 80 | #define H100_REMOTE 1 |
@@ -103,6 +107,8 @@ | |||
103 | #define LCD_DSC25 16 /* as used by Archos AV300 */ | 107 | #define LCD_DSC25 16 /* as used by Archos AV300 */ |
104 | #define LCD_C200 17 /* as used by Sandisk Sansa c200 */ | 108 | #define LCD_C200 17 /* as used by Sandisk Sansa c200 */ |
105 | #define LCD_MROBE500 18 /* as used by Olympus M:Robe 500i */ | 109 | #define LCD_MROBE500 18 /* as used by Olympus M:Robe 500i */ |
110 | #define LCD_LOGIKDAX 19 /* as used by Logik DAX - SSD1815 */ | ||
111 | #define LCD_IAUDIO67 20 /* as used by iAudio 6/7 - unknown */ | ||
106 | 112 | ||
107 | /* LCD_PIXELFORMAT */ | 113 | /* LCD_PIXELFORMAT */ |
108 | #define HORIZONTAL_PACKING 1 | 114 | #define HORIZONTAL_PACKING 1 |
@@ -122,6 +128,7 @@ | |||
122 | #define I2C_S3C2440 7 | 128 | #define I2C_S3C2440 7 |
123 | #define I2C_PP5024 8 /* PP5024 style */ | 129 | #define I2C_PP5024 8 /* PP5024 style */ |
124 | #define I2C_IMX31L 9 | 130 | #define I2C_IMX31L 9 |
131 | #define I2C_TCC77X 10 | ||
125 | 132 | ||
126 | /* CONFIG_LED */ | 133 | /* CONFIG_LED */ |
127 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ | 134 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ |
@@ -141,6 +148,7 @@ | |||
141 | #define RTC_DS1339_DS3231 7 /* h1x0 RTC mod */ | 148 | #define RTC_DS1339_DS3231 7 /* h1x0 RTC mod */ |
142 | #define RTC_IMX31L 8 | 149 | #define RTC_IMX31L 8 |
143 | #define RTC_RX5X348AB 9 | 150 | #define RTC_RX5X348AB 9 |
151 | #define RTC_TCC77X 10 | ||
144 | 152 | ||
145 | /* USB On-the-go */ | 153 | /* USB On-the-go */ |
146 | #define USBOTG_ISP1362 1362 /* iriver H300 */ | 154 | #define USBOTG_ISP1362 1362 /* iriver H300 */ |
@@ -210,6 +218,10 @@ | |||
210 | #include "config-tpj1022.h" | 218 | #include "config-tpj1022.h" |
211 | #elif defined(MROBE_500) | 219 | #elif defined(MROBE_500) |
212 | #include "config-mrobe500.h" | 220 | #include "config-mrobe500.h" |
221 | #elif defined(LOGIK_DAX) | ||
222 | #include "config-logikdax.h" | ||
223 | #elif defined(IAUDIO_7) | ||
224 | #include "config-iaudio7.h" | ||
213 | #else | 225 | #else |
214 | /* no known platform */ | 226 | /* no known platform */ |
215 | #endif | 227 | #endif |
@@ -309,6 +321,11 @@ | |||
309 | #define CPU_PP502x | 321 | #define CPU_PP502x |
310 | #endif | 322 | #endif |
311 | 323 | ||
324 | /* define for all cpus from TCC77X family */ | ||
325 | #if (CONFIG_CPU == TCC771L) || (CONFIG_CPU == TCC773L) | ||
326 | #define CPU_TCC77X | ||
327 | #endif | ||
328 | |||
312 | /* define for all cpus from ARM7TDMI family (for specific optimisations) */ | 329 | /* define for all cpus from ARM7TDMI family (for specific optimisations) */ |
313 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == DSC25) | 330 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == DSC25) |
314 | #define CPU_ARM7TDMI | 331 | #define CPU_ARM7TDMI |
@@ -316,7 +333,8 @@ | |||
316 | 333 | ||
317 | /* define for all cpus from ARM family */ | 334 | /* define for all cpus from ARM family */ |
318 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ | 335 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ |
319 | || (CONFIG_CPU == DSC25) || (CONFIG_CPU == IMX31L) || (CONFIG_CPU == DM320) | 336 | || (CONFIG_CPU == DSC25) || (CONFIG_CPU == IMX31L) || (CONFIG_CPU == DM320) \ |
337 | || defined(CPU_TCC77X) | ||
320 | #define CPU_ARM | 338 | #define CPU_ARM |
321 | #endif | 339 | #endif |
322 | 340 | ||
@@ -342,6 +360,7 @@ | |||
342 | (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \ | 360 | (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \ |
343 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ | 361 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ |
344 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ | 362 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ |
363 | defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ | ||
345 | (CONFIG_CPU == PNX0101)) | 364 | (CONFIG_CPU == PNX0101)) |
346 | #define ICODE_ATTR __attribute__ ((section(".icode"))) | 365 | #define ICODE_ATTR __attribute__ ((section(".icode"))) |
347 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) | 366 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) |