diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-03-30 12:20:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-03-30 12:20:47 +0000 |
commit | 8983fcb5f2687b22b2cba68573f839ff2800e3c9 (patch) | |
tree | cabc0667fa7293148bb0aabf5af235c7135c8526 /firmware/export/config.h | |
parent | ddc554f62bb99a00b534e5f18aa0f1165df0622f (diff) | |
download | rockbox-8983fcb5f2687b22b2cba68573f839ff2800e3c9.tar.gz rockbox-8983fcb5f2687b22b2cba68573f839ff2800e3c9.zip |
Initial commit for the "Lyre prototype 1" port by Jorge Pinto from FS#10045.
Bootloader builds, normal does not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20574 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index d7375ddaac..45dd5d2394 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -69,6 +69,7 @@ | |||
69 | #define S5L8700 8700 | 69 | #define S5L8700 8700 |
70 | #define JZ4732 4732 | 70 | #define JZ4732 4732 |
71 | #define AS3525 3525 | 71 | #define AS3525 3525 |
72 | #define AT91SAM9260 9260 | ||
72 | 73 | ||
73 | /* CONFIG_KEYPAD */ | 74 | /* CONFIG_KEYPAD */ |
74 | #define PLAYER_PAD 1 | 75 | #define PLAYER_PAD 1 |
@@ -107,6 +108,7 @@ | |||
107 | #define MEIZU_M3_PAD 34 | 108 | #define MEIZU_M3_PAD 34 |
108 | #define SANSA_CLIP_PAD 35 | 109 | #define SANSA_CLIP_PAD 35 |
109 | #define SANSA_FUZE_PAD 36 | 110 | #define SANSA_FUZE_PAD 36 |
111 | #define LYRE_PROTO1_PAD 37 | ||
110 | 112 | ||
111 | /* CONFIG_REMOTE_KEYPAD */ | 113 | /* CONFIG_REMOTE_KEYPAD */ |
112 | #define H100_REMOTE 1 | 114 | #define H100_REMOTE 1 |
@@ -145,7 +147,7 @@ | |||
145 | #define CHARGING_TARGET 3 /* Any algorithm - usually software controlled | 147 | #define CHARGING_TARGET 3 /* Any algorithm - usually software controlled |
146 | * charging or specific programming is required to | 148 | * charging or specific programming is required to |
147 | * use the charging hardware. */ | 149 | * use the charging hardware. */ |
148 | 150 | ||
149 | /* CONFIG_LCD */ | 151 | /* CONFIG_LCD */ |
150 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ | 152 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ |
151 | #define LCD_SSD1801 2 /* as used by Archos Player/Studio */ | 153 | #define LCD_SSD1801 2 /* as used by Archos Player/Studio */ |
@@ -181,6 +183,7 @@ | |||
181 | #define LCD_ONDAVX767 30 /* as used by the Onda VX767 */ | 183 | #define LCD_ONDAVX767 30 /* as used by the Onda VX767 */ |
182 | #define LCD_SSD1303 31 /* as used by the Sansa Clip */ | 184 | #define LCD_SSD1303 31 /* as used by the Sansa Clip */ |
183 | #define LCD_FUZE 32 /* as used by the Sansa Fuze */ | 185 | #define LCD_FUZE 32 /* as used by the Sansa Fuze */ |
186 | #define LCD_LYRE_PROTO1 33 /* as used by the Lyre */ | ||
184 | 187 | ||
185 | /* LCD_PIXELFORMAT */ | 188 | /* LCD_PIXELFORMAT */ |
186 | #define HORIZONTAL_PACKING 1 | 189 | #define HORIZONTAL_PACKING 1 |
@@ -196,6 +199,8 @@ | |||
196 | #define SCREEN_SQUARE 2 | 199 | #define SCREEN_SQUARE 2 |
197 | 200 | ||
198 | /* CONFIG_I2C */ | 201 | /* CONFIG_I2C */ |
202 | #define I2C_NONE 0 /* For targets that do not use I2C - as the | ||
203 | Lyre prototype 1*/ | ||
199 | #define I2C_PLAYREC 1 /* Archos Player/Recorder style */ | 204 | #define I2C_PLAYREC 1 /* Archos Player/Recorder style */ |
200 | #define I2C_ONDIO 2 /* Ondio style */ | 205 | #define I2C_ONDIO 2 /* Ondio style */ |
201 | #define I2C_COLDFIRE 3 /* Coldfire style */ | 206 | #define I2C_COLDFIRE 3 /* Coldfire style */ |
@@ -356,6 +361,8 @@ | |||
356 | #include "config-fuze.h" | 361 | #include "config-fuze.h" |
357 | #elif defined(SANSA_C200V2) | 362 | #elif defined(SANSA_C200V2) |
358 | #include "config-c200v2.h" | 363 | #include "config-c200v2.h" |
364 | #elif defined(LYRE_PROTO1) | ||
365 | #include "config-lyre_proto1.h" | ||
359 | #else | 366 | #else |
360 | /* no known platform */ | 367 | /* no known platform */ |
361 | #endif | 368 | #endif |
@@ -535,7 +542,7 @@ | |||
535 | #endif /* BOOTLOADER */ | 542 | #endif /* BOOTLOADER */ |
536 | 543 | ||
537 | #if defined(HAVE_USBSTACK) || (CONFIG_CPU == JZ4732) \ | 544 | #if defined(HAVE_USBSTACK) || (CONFIG_CPU == JZ4732) \ |
538 | || (CONFIG_CPU == AS3525) || (CONFIG_CPU == S3C2440) | 545 | || (CONFIG_CPU == AS3525) || (CONFIG_CPU == S3C2440) |
539 | #define HAVE_WAKEUP_OBJECTS | 546 | #define HAVE_WAKEUP_OBJECTS |
540 | #endif | 547 | #endif |
541 | 548 | ||
@@ -580,7 +587,8 @@ | |||
580 | #define ARM_ARCH 6 /* ARMv6 */ | 587 | #define ARM_ARCH 6 /* ARMv6 */ |
581 | #endif | 588 | #endif |
582 | 589 | ||
583 | #if defined(CPU_TCC77X) || defined(CPU_TCC780X) || (CONFIG_CPU == DM320) | 590 | #if defined(CPU_TCC77X) || defined(CPU_TCC780X) || (CONFIG_CPU == DM320) \ |
591 | || (CONFIG_CPU == AT91SAM9260) | ||
584 | #define CPU_ARM | 592 | #define CPU_ARM |
585 | #define ARM_ARCH 5 /* ARMv5 */ | 593 | #define ARM_ARCH 5 /* ARMv5 */ |
586 | #endif | 594 | #endif |