diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 1a288dd590..4746506c99 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -31,6 +31,8 @@ | |||
31 | #define TEA5767 0x02 /* Philips */ | 31 | #define TEA5767 0x02 /* Philips */ |
32 | #define LV24020LP 0x04 /* Sanyo */ | 32 | #define LV24020LP 0x04 /* Sanyo */ |
33 | #define SI4700 0x08 /* Silicon Labs */ | 33 | #define SI4700 0x08 /* Silicon Labs */ |
34 | #define TEA5760 0x10 /* Philips */ | ||
35 | #define LV240000 0x20 /* Sanyo */ | ||
34 | 36 | ||
35 | /* CONFIG_CODEC */ | 37 | /* CONFIG_CODEC */ |
36 | #define MAS3587F 3587 | 38 | #define MAS3587F 3587 |
@@ -54,6 +56,7 @@ | |||
54 | #define TCC771L 771 | 56 | #define TCC771L 771 |
55 | #define TCC773L 773 | 57 | #define TCC773L 773 |
56 | #define TCC7801 7801 | 58 | #define TCC7801 7801 |
59 | #define S5L8700 8700 | ||
57 | 60 | ||
58 | /* CONFIG_KEYPAD */ | 61 | /* CONFIG_KEYPAD */ |
59 | #define PLAYER_PAD 1 | 62 | #define PLAYER_PAD 1 |
@@ -79,6 +82,7 @@ | |||
79 | #define IAUDIO67_PAD 21 | 82 | #define IAUDIO67_PAD 21 |
80 | #define COWOND2_PAD 22 | 83 | #define COWOND2_PAD 22 |
81 | #define IAUDIO_M3_PAD 23 | 84 | #define IAUDIO_M3_PAD 23 |
85 | #define MEIZU_M6SL_PAD 24 | ||
82 | 86 | ||
83 | /* CONFIG_REMOTE_KEYPAD */ | 87 | /* CONFIG_REMOTE_KEYPAD */ |
84 | #define H100_REMOTE 1 | 88 | #define H100_REMOTE 1 |
@@ -117,6 +121,7 @@ | |||
117 | #define LCD_CREATIVEZVM 22 /* as used by Creative Zen Vision:M */ | 121 | #define LCD_CREATIVEZVM 22 /* as used by Creative Zen Vision:M */ |
118 | #define LCD_TL0350A 23 /* as used by the iAudio M3 remote, treated as main LCD */ | 122 | #define LCD_TL0350A 23 /* as used by the iAudio M3 remote, treated as main LCD */ |
119 | #define LCD_COWOND2 24 /* as used by Cowon D2 - LTV250QV, TCC7801 driver */ | 123 | #define LCD_COWOND2 24 /* as used by Cowon D2 - LTV250QV, TCC7801 driver */ |
124 | #define LCD_S6D0129 25 /* as used by the Meizu M6SP and M6SL - S6D0129 */ | ||
120 | 125 | ||
121 | /* LCD_PIXELFORMAT */ | 126 | /* LCD_PIXELFORMAT */ |
122 | #define HORIZONTAL_PACKING 1 | 127 | #define HORIZONTAL_PACKING 1 |
@@ -143,6 +148,7 @@ | |||
143 | #define I2C_IMX31L 9 | 148 | #define I2C_IMX31L 9 |
144 | #define I2C_TCC77X 10 | 149 | #define I2C_TCC77X 10 |
145 | #define I2C_TCC780X 11 | 150 | #define I2C_TCC780X 11 |
151 | #define I2C_S5L8700 12 | ||
146 | 152 | ||
147 | /* CONFIG_LED */ | 153 | /* CONFIG_LED */ |
148 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ | 154 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ |
@@ -165,6 +171,8 @@ | |||
165 | #define RTC_TCC77X 10 | 171 | #define RTC_TCC77X 10 |
166 | #define RTC_TCC780X 11 | 172 | #define RTC_TCC780X 11 |
167 | #define RTC_MR100 12 | 173 | #define RTC_MR100 12 |
174 | #define RTC_S5L8700 13 | ||
175 | #define RTC_S35390A 14 | ||
168 | 176 | ||
169 | /* USB On-the-go */ | 177 | /* USB On-the-go */ |
170 | #define USBOTG_ISP1362 1362 /* iriver H300 */ | 178 | #define USBOTG_ISP1362 1362 /* iriver H300 */ |
@@ -246,6 +254,8 @@ | |||
246 | #include "config-cowond2.h" | 254 | #include "config-cowond2.h" |
247 | #elif defined(CREATIVE_ZVM) | 255 | #elif defined(CREATIVE_ZVM) |
248 | #include "config-creativezvm.h" | 256 | #include "config-creativezvm.h" |
257 | #elif defined(MEIZU_M6SL) | ||
258 | #include "config-meizu-m6sl.h" | ||
249 | #else | 259 | #else |
250 | /* no known platform */ | 260 | /* no known platform */ |
251 | #endif | 261 | #endif |
@@ -382,7 +392,7 @@ | |||
382 | #endif | 392 | #endif |
383 | 393 | ||
384 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ | 394 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ |
385 | || (CONFIG_CPU == DSC25) || (CONFIG_CPU == DM320) | 395 | || (CONFIG_CPU == DSC25) || (CONFIG_CPU == DM320) || (CONFIG_CPU == S5L8700) |
386 | #define CPU_ARM | 396 | #define CPU_ARM |
387 | #define ARM_ARCH 4 /* ARMv4 */ | 397 | #define ARM_ARCH 4 /* ARMv4 */ |
388 | #endif | 398 | #endif |
@@ -411,7 +421,8 @@ | |||
411 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ | 421 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ |
412 | defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ | 422 | defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ |
413 | defined(CPU_TCC780X) || /* Telechips: core, plugins, codecs */ \ | 423 | defined(CPU_TCC780X) || /* Telechips: core, plugins, codecs */ \ |
414 | (CONFIG_CPU == PNX0101)) | 424 | (CONFIG_CPU == PNX0101) || \ |
425 | (CONFIG_CPU == S5L8700)) | ||
415 | #define ICODE_ATTR __attribute__ ((section(".icode"))) | 426 | #define ICODE_ATTR __attribute__ ((section(".icode"))) |
416 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) | 427 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) |
417 | #define IDATA_ATTR __attribute__ ((section(".idata"))) | 428 | #define IDATA_ATTR __attribute__ ((section(".idata"))) |