diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 003f68335a..2c7c6e89db 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -75,6 +75,7 @@ | |||
75 | #define AT91SAM9260 9260 | 75 | #define AT91SAM9260 9260 |
76 | #define AS3525v2 35252 | 76 | #define AS3525v2 35252 |
77 | #define IMX233 233 | 77 | #define IMX233 233 |
78 | #define RK27XX 2700 | ||
78 | 79 | ||
79 | /* platforms | 80 | /* platforms |
80 | * bit fields to allow PLATFORM_HOSTED to be OR'ed e.g. with a | 81 | * bit fields to allow PLATFORM_HOSTED to be OR'ed e.g. with a |
@@ -222,6 +223,7 @@ | |||
222 | #define LCD_VIBE500 39 /* as used by the Packard Bell Vibe 500 */ | 223 | #define LCD_VIBE500 39 /* as used by the Packard Bell Vibe 500 */ |
223 | #define LCD_IPOD6G 40 /* as used by the iPod Nano 2nd Generation */ | 224 | #define LCD_IPOD6G 40 /* as used by the iPod Nano 2nd Generation */ |
224 | #define LCD_FUZEPLUS 41 | 225 | #define LCD_FUZEPLUS 41 |
226 | #define LCD_SPFD5420A 42 /* rk27xx */ | ||
225 | 227 | ||
226 | /* LCD_PIXELFORMAT */ | 228 | /* LCD_PIXELFORMAT */ |
227 | #define HORIZONTAL_PACKING 1 | 229 | #define HORIZONTAL_PACKING 1 |
@@ -260,6 +262,7 @@ Lyre prototype 1 */ | |||
260 | #define I2C_AS3525 15 | 262 | #define I2C_AS3525 15 |
261 | #define I2C_S5L8702 16 /* Same as S5L8700, but with two channels */ | 263 | #define I2C_S5L8702 16 /* Same as S5L8700, but with two channels */ |
262 | #define I2C_IMX233 17 | 264 | #define I2C_IMX233 17 |
265 | #define I2C_RK27XX 18 | ||
263 | 266 | ||
264 | /* CONFIG_LED */ | 267 | /* CONFIG_LED */ |
265 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ | 268 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ |
@@ -271,6 +274,7 @@ Lyre prototype 1 */ | |||
271 | #define NAND_TCC 2 | 274 | #define NAND_TCC 2 |
272 | #define NAND_SAMSUNG 3 | 275 | #define NAND_SAMSUNG 3 |
273 | #define NAND_CC 4 /* ChinaChip */ | 276 | #define NAND_CC 4 /* ChinaChip */ |
277 | #define NAND_RK27XX 5 | ||
274 | 278 | ||
275 | /* CONFIG_RTC */ | 279 | /* CONFIG_RTC */ |
276 | #define RTC_M41ST84W 1 /* Archos Recorder */ | 280 | #define RTC_M41ST84W 1 /* Archos Recorder */ |
@@ -448,6 +452,8 @@ Lyre prototype 1 */ | |||
448 | #include "config/mpiohd200.h" | 452 | #include "config/mpiohd200.h" |
449 | #elif defined(MPIO_HD300) | 453 | #elif defined(MPIO_HD300) |
450 | #include "config/mpiohd300.h" | 454 | #include "config/mpiohd300.h" |
455 | #elif defined(RK27_GENERIC) | ||
456 | #include "config/rk27generic.h" | ||
451 | #elif defined(SDLAPP) | 457 | #elif defined(SDLAPP) |
452 | #include "config/sdlapp.h" | 458 | #include "config/sdlapp.h" |
453 | #elif defined(ANDROID) | 459 | #elif defined(ANDROID) |
@@ -533,8 +539,8 @@ Lyre prototype 1 */ | |||
533 | 539 | ||
534 | #elif defined(CPU_TCC77X) || defined(CPU_TCC780X) || (CONFIG_CPU == DM320) \ | 540 | #elif defined(CPU_TCC77X) || defined(CPU_TCC780X) || (CONFIG_CPU == DM320) \ |
535 | || (CONFIG_CPU == AT91SAM9260) || (CONFIG_CPU == AS3525v2) \ | 541 | || (CONFIG_CPU == AT91SAM9260) || (CONFIG_CPU == AS3525v2) \ |
536 | || (CONFIG_CPU == S5L8702) || (CONFIG_PLATFORM & PLATFORM_ANDROID) \ | 542 | || (CONFIG_CPU == S5L8702) || (CONFIG_CPU == IMX233) \ |
537 | || (CONFIG_CPU == IMX233) | 543 | || (CONFIG_CPU == RK27XX) ||(CONFIG_PLATFORM & PLATFORM_ANDROID) |
538 | #define CPU_ARM | 544 | #define CPU_ARM |
539 | #define ARM_ARCH 5 /* ARMv5 */ | 545 | #define ARM_ARCH 5 /* ARMv5 */ |
540 | 546 | ||
@@ -774,7 +780,8 @@ Lyre prototype 1 */ | |||
774 | #if defined(HAVE_USBSTACK) || (CONFIG_CPU == JZ4732) \ | 780 | #if defined(HAVE_USBSTACK) || (CONFIG_CPU == JZ4732) \ |
775 | || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) \ | 781 | || (CONFIG_CPU == AS3525) || (CONFIG_CPU == AS3525v2) \ |
776 | || defined(CPU_S5L870X) || (CONFIG_CPU == S3C2440) \ | 782 | || defined(CPU_S5L870X) || (CONFIG_CPU == S3C2440) \ |
777 | || defined(APPLICATION) || (CONFIG_CPU == PP5002) | 783 | || defined(APPLICATION) || (CONFIG_CPU == PP5002) \ |
784 | || (CONFIG_CPU == RK27XX) | ||
778 | #define HAVE_SEMAPHORE_OBJECTS | 785 | #define HAVE_SEMAPHORE_OBJECTS |
779 | #endif | 786 | #endif |
780 | 787 | ||