diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-01-14 22:04:48 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-01-14 22:04:48 +0000 |
commit | 47ea030e2e68a51f91a2c2302b7ea4d3ee1a2a07 (patch) | |
tree | 0a48ce653e22ec9a2673474f718217d9659e0c6b /firmware/export/config.h | |
parent | b30ca8ca5ab6c8ea27b8fe1f5fb38ebad09b7e62 (diff) | |
download | rockbox-47ea030e2e68a51f91a2c2302b7ea4d3ee1a2a07.tar.gz rockbox-47ea030e2e68a51f91a2c2302b7ea4d3ee1a2a07.zip |
Initial Cowon D2 commit:
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index a3c2390f84..cf75d67aa5 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #define IMX31L 31 | 53 | #define IMX31L 31 |
54 | #define TCC771L 771 | 54 | #define TCC771L 771 |
55 | #define TCC773L 773 | 55 | #define TCC773L 773 |
56 | #define TCC7801 7801 | ||
56 | 57 | ||
57 | /* CONFIG_KEYPAD */ | 58 | /* CONFIG_KEYPAD */ |
58 | #define PLAYER_PAD 1 | 59 | #define PLAYER_PAD 1 |
@@ -75,7 +76,8 @@ | |||
75 | #define MROBE500_PAD 18 | 76 | #define MROBE500_PAD 18 |
76 | #define GIGABEAT_S_PAD 19 | 77 | #define GIGABEAT_S_PAD 19 |
77 | #define LOGIK_DAX_PAD 20 | 78 | #define LOGIK_DAX_PAD 20 |
78 | #define IAUDIO67_PAD 21 | 79 | #define IAUDIO67_PAD 21 |
80 | #define COWOND2_PAD 22 | ||
79 | 81 | ||
80 | /* CONFIG_REMOTE_KEYPAD */ | 82 | /* CONFIG_REMOTE_KEYPAD */ |
81 | #define H100_REMOTE 1 | 83 | #define H100_REMOTE 1 |
@@ -111,6 +113,7 @@ | |||
111 | #define LCD_MROBE100 19 /* as used by Olympus M:Robe 100 */ | 113 | #define LCD_MROBE100 19 /* as used by Olympus M:Robe 100 */ |
112 | #define LCD_LOGIKDAX 20 /* as used by Logik DAX - SSD1815 */ | 114 | #define LCD_LOGIKDAX 20 /* as used by Logik DAX - SSD1815 */ |
113 | #define LCD_IAUDIO67 21 /* as used by iAudio 6/7 - unknown */ | 115 | #define LCD_IAUDIO67 21 /* as used by iAudio 6/7 - unknown */ |
116 | #define LCD_COWOND2 21 /* as used by Cowon D2 - LTV250QV, TCC7801 driver */ | ||
114 | 117 | ||
115 | /* LCD_PIXELFORMAT */ | 118 | /* LCD_PIXELFORMAT */ |
116 | #define HORIZONTAL_PACKING 1 | 119 | #define HORIZONTAL_PACKING 1 |
@@ -136,6 +139,7 @@ | |||
136 | #define I2C_PP5024 8 /* PP5024 style */ | 139 | #define I2C_PP5024 8 /* PP5024 style */ |
137 | #define I2C_IMX31L 9 | 140 | #define I2C_IMX31L 9 |
138 | #define I2C_TCC77X 10 | 141 | #define I2C_TCC77X 10 |
142 | #define I2C_TCC780X 11 | ||
139 | 143 | ||
140 | /* CONFIG_LED */ | 144 | /* CONFIG_LED */ |
141 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ | 145 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ |
@@ -156,6 +160,7 @@ | |||
156 | #define RTC_IMX31L 8 | 160 | #define RTC_IMX31L 8 |
157 | #define RTC_RX5X348AB 9 | 161 | #define RTC_RX5X348AB 9 |
158 | #define RTC_TCC77X 10 | 162 | #define RTC_TCC77X 10 |
163 | #define RTC_TCC780X 11 | ||
159 | 164 | ||
160 | /* USB On-the-go */ | 165 | /* USB On-the-go */ |
161 | #define USBOTG_ISP1362 1362 /* iriver H300 */ | 166 | #define USBOTG_ISP1362 1362 /* iriver H300 */ |
@@ -231,6 +236,8 @@ | |||
231 | #include "config-logikdax.h" | 236 | #include "config-logikdax.h" |
232 | #elif defined(IAUDIO_7) | 237 | #elif defined(IAUDIO_7) |
233 | #include "config-iaudio7.h" | 238 | #include "config-iaudio7.h" |
239 | #elif defined(COWON_D2) | ||
240 | #include "config-cowond2.h" | ||
234 | #else | 241 | #else |
235 | /* no known platform */ | 242 | /* no known platform */ |
236 | #endif | 243 | #endif |
@@ -345,6 +352,11 @@ | |||
345 | #define CPU_TCC77X | 352 | #define CPU_TCC77X |
346 | #endif | 353 | #endif |
347 | 354 | ||
355 | /* define for all cpus from TCC780 family */ | ||
356 | #if (CONFIG_CPU == TCC7801) | ||
357 | #define CPU_TCC780X | ||
358 | #endif | ||
359 | |||
348 | /* define for all cpus from ARM7TDMI family (for specific optimisations) */ | 360 | /* define for all cpus from ARM7TDMI family (for specific optimisations) */ |
349 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == DSC25) | 361 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == DSC25) |
350 | #define CPU_ARM7TDMI | 362 | #define CPU_ARM7TDMI |
@@ -353,7 +365,7 @@ | |||
353 | /* define for all cpus from ARM family */ | 365 | /* define for all cpus from ARM family */ |
354 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ | 366 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ |
355 | || (CONFIG_CPU == DSC25) || (CONFIG_CPU == IMX31L) || (CONFIG_CPU == DM320) \ | 367 | || (CONFIG_CPU == DSC25) || (CONFIG_CPU == IMX31L) || (CONFIG_CPU == DM320) \ |
356 | || defined(CPU_TCC77X) | 368 | || defined(CPU_TCC77X) || defined(CPU_TCC780X) |
357 | #define CPU_ARM | 369 | #define CPU_ARM |
358 | #endif | 370 | #endif |
359 | 371 | ||
@@ -380,6 +392,7 @@ | |||
380 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ | 392 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ |
381 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ | 393 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ |
382 | defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ | 394 | defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ |
395 | defined(CPU_TCC780X) || /* Telechips: core, plugins, codecs */ \ | ||
383 | (CONFIG_CPU == PNX0101)) | 396 | (CONFIG_CPU == PNX0101)) |
384 | #define ICODE_ATTR __attribute__ ((section(".icode"))) | 397 | #define ICODE_ATTR __attribute__ ((section(".icode"))) |
385 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) | 398 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) |