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.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 0e673cb988..1557accde5 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -42,6 +42,7 @@
42#define PP5002 5002 42#define PP5002 5002
43#define PP5020 5020 43#define PP5020 5020
44#define PNX0101 101 44#define PNX0101 101
45#define S3C2440 2440
45 46
46/* CONFIG_KEYPAD */ 47/* CONFIG_KEYPAD */
47#define PLAYER_PAD 0 48#define PLAYER_PAD 0
@@ -54,6 +55,7 @@
54#define IPOD_4G_PAD 7 55#define IPOD_4G_PAD 7
55#define IPOD_3G_PAD 8 56#define IPOD_3G_PAD 8
56#define IRIVER_IFP7XX_PAD 9 57#define IRIVER_IFP7XX_PAD 9
58#define GIGABEAT_PAD 10
57 59
58/* CONFIG_REMOTE_KEYPAD */ 60/* CONFIG_REMOTE_KEYPAD */
59#define H100_REMOTE 1 61#define H100_REMOTE 1
@@ -80,6 +82,7 @@
80#define LCD_IPODVIDEO 8 /* as used by iPod Video */ 82#define LCD_IPODVIDEO 8 /* as used by iPod Video */
81#define LCD_IPOD2BPP 9 /* as used by all greyscale iPods */ 83#define LCD_IPOD2BPP 9 /* as used by all greyscale iPods */
82#define LCD_IFP7XX 10 /* as used by iRiver iFP 7xx/8xx */ 84#define LCD_IFP7XX 10 /* as used by iRiver iFP 7xx/8xx */
85#define LCD_GIGABEAT 11
83 86
84/* LCD_PIXELFORMAT */ 87/* LCD_PIXELFORMAT */
85#define HORIZONTAL_PACKING 1 88#define HORIZONTAL_PACKING 1
@@ -99,6 +102,7 @@
99#define BL_IRIVER_H300 8 /* IRiver PWM */ 102#define BL_IRIVER_H300 8 /* IRiver PWM */
100#define BL_IRIVER_IFP7XX 9 /* IRiver GPIO */ 103#define BL_IRIVER_IFP7XX 9 /* IRiver GPIO */
101#define BL_IPODMINI 10 /* Apple iPod Mini */ 104#define BL_IPODMINI 10 /* Apple iPod Mini */
105#define BL_GIGABEAT 11 /* Toshiba Gigabeat */
102 106
103/* CONFIG_I2C */ 107/* CONFIG_I2C */
104#define I2C_PLAYREC 0 /* Archos Player/Recorder style */ 108#define I2C_PLAYREC 0 /* Archos Player/Recorder style */
@@ -108,6 +112,7 @@
108#define I2C_PP5002 4 /* PP5002 style */ 112#define I2C_PP5002 4 /* PP5002 style */
109#define I2C_PP5020 5 /* PP5020 style */ 113#define I2C_PP5020 5 /* PP5020 style */
110#define I2C_PNX0101 6 /* PNX0101 style */ 114#define I2C_PNX0101 6 /* PNX0101 style */
115#define I2C_S3C2440 7
111 116
112/* CONFIG_LED */ 117/* CONFIG_LED */
113#define LED_REAL 1 /* SW controlled LED (Archos recorders, player, Gmini) */ 118#define LED_REAL 1 /* SW controlled LED (Archos recorders, player, Gmini) */
@@ -120,6 +125,7 @@
120#define RTC_M41ST84W 1 /* Archos Recorder */ 125#define RTC_M41ST84W 1 /* Archos Recorder */
121#define RTC_PCF50605 2 /* iPod 3G and 4G*/ 126#define RTC_PCF50605 2 /* iPod 3G and 4G*/
122#define RTC_PCF50606 3 /* iriver H300 */ 127#define RTC_PCF50606 3 /* iriver H300 */
128#define RTC_S3C2440 4
123 129
124/* else HW controlled LED (iRiver H1x0) */ 130/* else HW controlled LED (iRiver H1x0) */
125 131
@@ -160,6 +166,8 @@
160#include "config-ipod4g.h" 166#include "config-ipod4g.h"
161#elif defined(IRIVER_IFP7XX) 167#elif defined(IRIVER_IFP7XX)
162#include "config-ifp7xx.h" 168#include "config-ifp7xx.h"
169#elif defined(GIGABEAT_F)
170#include "config-gigabeat.h"
163#elif defined(IPOD_MINI) 171#elif defined(IPOD_MINI)
164#include "config-ipodmini.h" 172#include "config-ipodmini.h"
165#else 173#else
@@ -185,7 +193,8 @@
185#endif 193#endif
186 194
187/* define for all cpus from ARM family */ 195/* define for all cpus from ARM family */
188#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) 196#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440)
197
189#define CPU_ARM 198#define CPU_ARM
190#endif 199#endif
191 200