summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 1a6e5d6894..79d50bf533 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
@@ -55,6 +57,7 @@
55#define TCC771L 771 57#define TCC771L 771
56#define TCC773L 773 58#define TCC773L 773
57#define TCC7801 7801 59#define TCC7801 7801
60#define S5L8700 8700
58 61
59/* CONFIG_KEYPAD */ 62/* CONFIG_KEYPAD */
60#define PLAYER_PAD 1 63#define PLAYER_PAD 1
@@ -86,6 +89,7 @@
86#define PHILIPS_SA9200_PAD 27 89#define PHILIPS_SA9200_PAD 27
87#define SANSA_C100_PAD 28 90#define SANSA_C100_PAD 28
88#define PHILIPS_HDD1630_PAD 29 91#define PHILIPS_HDD1630_PAD 29
92#define MEIZU_M6SL_PAD 30
89 93
90/* CONFIG_REMOTE_KEYPAD */ 94/* CONFIG_REMOTE_KEYPAD */
91#define H100_REMOTE 1 95#define H100_REMOTE 1
@@ -127,6 +131,7 @@
127#define LCD_SA9200 25 /* as used by the Philips SA9200 */ 131#define LCD_SA9200 25 /* as used by the Philips SA9200 */
128#define LCD_S6B33B2 26 /* as used by the Sansa c100 */ 132#define LCD_S6B33B2 26 /* as used by the Sansa c100 */
129#define LCD_HDD1630 27 /* as used by the Philips HDD1630 */ 133#define LCD_HDD1630 27 /* as used by the Philips HDD1630 */
134#define LCD_MEIZUM6 28 /* as used by the Meizu M6SP and M6SL (various models) */
130 135
131/* LCD_PIXELFORMAT */ 136/* LCD_PIXELFORMAT */
132#define HORIZONTAL_PACKING 1 137#define HORIZONTAL_PACKING 1
@@ -154,6 +159,7 @@
154#define I2C_TCC77X 10 159#define I2C_TCC77X 10
155#define I2C_TCC780X 11 160#define I2C_TCC780X 11
156#define I2C_DM320 12 /* DM320 style */ 161#define I2C_DM320 12 /* DM320 style */
162#define I2C_S5L8700 12
157 163
158/* CONFIG_LED */ 164/* CONFIG_LED */
159#define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ 165#define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */
@@ -177,6 +183,8 @@
177#define RTC_TCC780X 11 183#define RTC_TCC780X 11
178#define RTC_MR100 12 184#define RTC_MR100 12
179#define RTC_MC13783 13 /* Freescale MC13783 PMIC */ 185#define RTC_MC13783 13 /* Freescale MC13783 PMIC */
186#define RTC_S5L8700 14
187#define RTC_S35390A 15
180 188
181/* USB On-the-go */ 189/* USB On-the-go */
182#define USBOTG_ISP1362 1362 /* iriver H300 */ 190#define USBOTG_ISP1362 1362 /* iriver H300 */
@@ -271,6 +279,8 @@
271#include "config-hdd1630.h" 279#include "config-hdd1630.h"
272#elif defined(SANSA_C100) 280#elif defined(SANSA_C100)
273#include "config-c100.h" 281#include "config-c100.h"
282#elif defined(MEIZU_M6SL)
283#include "config-meizu-m6sl.h"
274#else 284#else
275/* no known platform */ 285/* no known platform */
276#endif 286#endif
@@ -426,7 +436,7 @@
426#endif 436#endif
427 437
428#if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ 438#if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \
429 || (CONFIG_CPU == DSC25) 439 || (CONFIG_CPU == DSC25) || (CONFIG_CPU == S5L8700)
430#define CPU_ARM 440#define CPU_ARM
431#define ARM_ARCH 4 /* ARMv4 */ 441#define ARM_ARCH 4 /* ARMv4 */
432#endif 442#endif
@@ -454,7 +464,8 @@
454 defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ 464 defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
455 defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ 465 defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \
456 defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ 466 defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \
457 (CONFIG_CPU == PNX0101)) 467 (CONFIG_CPU == PNX0101) || \
468 (CONFIG_CPU == S5L8700)) /* Samsing S5L8700: core, plugins, codecs */
458#define ICODE_ATTR __attribute__ ((section(".icode"))) 469#define ICODE_ATTR __attribute__ ((section(".icode")))
459#define ICONST_ATTR __attribute__ ((section(".irodata"))) 470#define ICONST_ATTR __attribute__ ((section(".irodata")))
460#define IDATA_ATTR __attribute__ ((section(".idata"))) 471#define IDATA_ATTR __attribute__ ((section(".idata")))