diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 3f563ca9df..5e3bbeb645 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -41,6 +41,7 @@ | |||
41 | #define TCC730 730 /* lacking a proper abbrivation */ | 41 | #define TCC730 730 /* lacking a proper abbrivation */ |
42 | #define PP5002 5002 | 42 | #define PP5002 5002 |
43 | #define PP5020 5020 | 43 | #define PP5020 5020 |
44 | #define PNX0101 101 | ||
44 | 45 | ||
45 | /* CONFIG_KEYPAD */ | 46 | /* CONFIG_KEYPAD */ |
46 | #define PLAYER_PAD 0 | 47 | #define PLAYER_PAD 0 |
@@ -51,6 +52,7 @@ | |||
51 | #define IRIVER_H300_PAD 5 | 52 | #define IRIVER_H300_PAD 5 |
52 | #define IAUDIO_X5_PAD 6 | 53 | #define IAUDIO_X5_PAD 6 |
53 | #define IPOD_4G_PAD 7 | 54 | #define IPOD_4G_PAD 7 |
55 | #define IRIVER_IFP7XX_PAD 8 | ||
54 | 56 | ||
55 | /* CONFIG_REMOTE_KEYPAD */ | 57 | /* CONFIG_REMOTE_KEYPAD */ |
56 | #define H100_REMOTE 1 | 58 | #define H100_REMOTE 1 |
@@ -75,6 +77,7 @@ | |||
75 | #define LCD_IPODCOLOR 6 /* as used by iPod Color/Photo */ | 77 | #define LCD_IPODCOLOR 6 /* as used by iPod Color/Photo */ |
76 | #define LCD_IPODNANO 7 /* as used by iPod Nano */ | 78 | #define LCD_IPODNANO 7 /* as used by iPod Nano */ |
77 | #define LCD_IPODVIDEO 8 /* as used by iPod Video */ | 79 | #define LCD_IPODVIDEO 8 /* as used by iPod Video */ |
80 | #define LCD_IFP7XX 9 /* as used by iRiver iFP 7xx/8xx */ | ||
78 | 81 | ||
79 | /* LCD_PIXELFORMAT */ | 82 | /* LCD_PIXELFORMAT */ |
80 | #define RGB565 565 | 83 | #define RGB565 565 |
@@ -89,6 +92,7 @@ | |||
89 | #define BL_IPOD4G 5 /* Apple iPod 4G */ | 92 | #define BL_IPOD4G 5 /* Apple iPod 4G */ |
90 | #define BL_IPODNANO 6 /* Apple iPod Nano and iPod Video*/ | 93 | #define BL_IPODNANO 6 /* Apple iPod Nano and iPod Video*/ |
91 | #define BL_IRIVER_H300 7 /* IRiver PWM */ | 94 | #define BL_IRIVER_H300 7 /* IRiver PWM */ |
95 | #define BL_IRIVER_IFP7XX 8 /* IRiver GPIO */ | ||
92 | 96 | ||
93 | /* CONFIG_I2C */ | 97 | /* CONFIG_I2C */ |
94 | #define I2C_PLAYREC 0 /* Archos Player/Recorder style */ | 98 | #define I2C_PLAYREC 0 /* Archos Player/Recorder style */ |
@@ -96,11 +100,15 @@ | |||
96 | #define I2C_GMINI 2 /* Gmini style */ | 100 | #define I2C_GMINI 2 /* Gmini style */ |
97 | #define I2C_COLDFIRE 3 /* Coldfire style */ | 101 | #define I2C_COLDFIRE 3 /* Coldfire style */ |
98 | #define I2C_PP5020 4 /* PP5020 style */ | 102 | #define I2C_PP5020 4 /* PP5020 style */ |
103 | #define I2C_PNX0101 5 /* PNX0101 style */ | ||
99 | 104 | ||
100 | /* CONFIG_LED */ | 105 | /* CONFIG_LED */ |
101 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player, Gmini) */ | 106 | #define LED_REAL 1 /* SW controlled LED (Archos recorders, player, Gmini) */ |
102 | #define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */ | 107 | #define LED_VIRTUAL 2 /* Virtual LED (icon) (Archos Ondio) */ |
103 | 108 | ||
109 | /* CONFIG_FLASH */ | ||
110 | #define FLASH_IFP7XX 1 | ||
111 | |||
104 | /* CONFIG_RTC */ | 112 | /* CONFIG_RTC */ |
105 | #define RTC_M41ST84W 1 /* Archos Recorder */ | 113 | #define RTC_M41ST84W 1 /* Archos Recorder */ |
106 | #define RTC_PCF50605 2 /* iPod 4G */ | 114 | #define RTC_PCF50605 2 /* iPod 4G */ |
@@ -139,6 +147,8 @@ | |||
139 | #include "config-ipodnano.h" | 147 | #include "config-ipodnano.h" |
140 | #elif defined(IPOD_VIDEO) | 148 | #elif defined(IPOD_VIDEO) |
141 | #include "config-ipodvideo.h" | 149 | #include "config-ipodvideo.h" |
150 | #elif defined(IRIVER_IFP7XX) | ||
151 | #include "config-ifp7xx.h" | ||
142 | #else | 152 | #else |
143 | /* no known platform */ | 153 | /* no known platform */ |
144 | #endif | 154 | #endif |
@@ -156,7 +166,7 @@ | |||
156 | #endif | 166 | #endif |
157 | 167 | ||
158 | /* define for all cpus from ARM family */ | 168 | /* define for all cpus from ARM family */ |
159 | #if (CONFIG_CPU == PP5020) | 169 | #if (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) |
160 | #define CPU_ARM | 170 | #define CPU_ARM |
161 | #endif | 171 | #endif |
162 | 172 | ||