From c7e5d78241699500b18ce783607af7ae52ee021f Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Thu, 27 Mar 2008 11:29:24 +0000 Subject: initial Meizu M6SL port git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16844 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'firmware/export/config.h') 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 @@ #define TEA5767 0x02 /* Philips */ #define LV24020LP 0x04 /* Sanyo */ #define SI4700 0x08 /* Silicon Labs */ +#define TEA5760 0x10 /* Philips */ +#define LV240000 0x20 /* Sanyo */ /* CONFIG_CODEC */ #define MAS3587F 3587 @@ -54,6 +56,7 @@ #define TCC771L 771 #define TCC773L 773 #define TCC7801 7801 +#define S5L8700 8700 /* CONFIG_KEYPAD */ #define PLAYER_PAD 1 @@ -79,6 +82,7 @@ #define IAUDIO67_PAD 21 #define COWOND2_PAD 22 #define IAUDIO_M3_PAD 23 +#define MEIZU_M6SL_PAD 24 /* CONFIG_REMOTE_KEYPAD */ #define H100_REMOTE 1 @@ -117,6 +121,7 @@ #define LCD_CREATIVEZVM 22 /* as used by Creative Zen Vision:M */ #define LCD_TL0350A 23 /* as used by the iAudio M3 remote, treated as main LCD */ #define LCD_COWOND2 24 /* as used by Cowon D2 - LTV250QV, TCC7801 driver */ +#define LCD_S6D0129 25 /* as used by the Meizu M6SP and M6SL - S6D0129 */ /* LCD_PIXELFORMAT */ #define HORIZONTAL_PACKING 1 @@ -143,6 +148,7 @@ #define I2C_IMX31L 9 #define I2C_TCC77X 10 #define I2C_TCC780X 11 +#define I2C_S5L8700 12 /* CONFIG_LED */ #define LED_REAL 1 /* SW controlled LED (Archos recorders, player) */ @@ -165,6 +171,8 @@ #define RTC_TCC77X 10 #define RTC_TCC780X 11 #define RTC_MR100 12 +#define RTC_S5L8700 13 +#define RTC_S35390A 14 /* USB On-the-go */ #define USBOTG_ISP1362 1362 /* iriver H300 */ @@ -246,6 +254,8 @@ #include "config-cowond2.h" #elif defined(CREATIVE_ZVM) #include "config-creativezvm.h" +#elif defined(MEIZU_M6SL) +#include "config-meizu-m6sl.h" #else /* no known platform */ #endif @@ -382,7 +392,7 @@ #endif #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) \ - || (CONFIG_CPU == DSC25) || (CONFIG_CPU == DM320) + || (CONFIG_CPU == DSC25) || (CONFIG_CPU == DM320) || (CONFIG_CPU == S5L8700) #define CPU_ARM #define ARM_ARCH 4 /* ARMv4 */ #endif @@ -411,7 +421,8 @@ defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ defined(CPU_TCC780X) || /* Telechips: core, plugins, codecs */ \ - (CONFIG_CPU == PNX0101)) + (CONFIG_CPU == PNX0101) || \ + (CONFIG_CPU == S5L8700)) #define ICODE_ATTR __attribute__ ((section(".icode"))) #define ICONST_ATTR __attribute__ ((section(".irodata"))) #define IDATA_ATTR __attribute__ ((section(".idata"))) -- cgit v1.2.3