diff options
Diffstat (limited to 'firmware/export/config/ipodnano2g.h')
-rw-r--r-- | firmware/export/config/ipodnano2g.h | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h index 851c59f529..bd374ff87c 100644 --- a/firmware/export/config/ipodnano2g.h +++ b/firmware/export/config/ipodnano2g.h | |||
@@ -47,6 +47,9 @@ | |||
47 | /* define this if you can invert the colours on your LCD */ | 47 | /* define this if you can invert the colours on your LCD */ |
48 | //#define HAVE_LCD_INVERT | 48 | //#define HAVE_LCD_INVERT |
49 | 49 | ||
50 | /* LCD stays visible without backlight - simulator hint */ | ||
51 | #define HAVE_TRANSFLECTIVE_LCD | ||
52 | |||
50 | /* define this if you have access to the quickscreen */ | 53 | /* define this if you have access to the quickscreen */ |
51 | #define HAVE_QUICKSCREEN | 54 | #define HAVE_QUICKSCREEN |
52 | 55 | ||
@@ -106,6 +109,9 @@ | |||
106 | /* define this if you have a real-time clock */ | 109 | /* define this if you have a real-time clock */ |
107 | #define CONFIG_RTC RTC_NANO2G | 110 | #define CONFIG_RTC RTC_NANO2G |
108 | 111 | ||
112 | /* Define if the device can wake from an RTC alarm */ | ||
113 | //#define HAVE_RTC_ALARM | ||
114 | |||
109 | #define CONFIG_LCD LCD_NANO2G | 115 | #define CONFIG_LCD LCD_NANO2G |
110 | 116 | ||
111 | /* Define the type of audio codec */ | 117 | /* Define the type of audio codec */ |
@@ -141,6 +147,10 @@ | |||
141 | /* Define this if your LCD can set contrast */ | 147 | /* Define this if your LCD can set contrast */ |
142 | //#define HAVE_LCD_CONTRAST | 148 | //#define HAVE_LCD_CONTRAST |
143 | 149 | ||
150 | /* Define Apple remote tuner */ | ||
151 | //#define CONFIG_TUNER IPOD_REMOTE_TUNER | ||
152 | //#define HAVE_RDS_CAP | ||
153 | |||
144 | /* The exact type of CPU */ | 154 | /* The exact type of CPU */ |
145 | #define CONFIG_CPU S5L8701 | 155 | #define CONFIG_CPU S5L8701 |
146 | 156 | ||
@@ -155,8 +165,8 @@ | |||
155 | /* Define this to the CPU frequency */ | 165 | /* Define this to the CPU frequency */ |
156 | #define CPU_FREQ 191692800 | 166 | #define CPU_FREQ 191692800 |
157 | 167 | ||
158 | /* Define this if you have ATA power-off control */ | 168 | /* define this if the hardware can be powered off while charging */ |
159 | //#define HAVE_ATA_POWER_OFF | 169 | #define HAVE_POWEROFF_WHILE_CHARGING |
160 | 170 | ||
161 | /* Offset ( in the firmware file's header ) to the file CRC */ | 171 | /* Offset ( in the firmware file's header ) to the file CRC */ |
162 | #define FIRMWARE_OFFSET_FILE_CRC 0 | 172 | #define FIRMWARE_OFFSET_FILE_CRC 0 |
@@ -164,9 +174,6 @@ | |||
164 | /* Offset ( in the firmware file's header ) to the real data */ | 174 | /* Offset ( in the firmware file's header ) to the real data */ |
165 | #define FIRMWARE_OFFSET_FILE_DATA 8 | 175 | #define FIRMWARE_OFFSET_FILE_DATA 8 |
166 | 176 | ||
167 | /* USB On-the-go */ | ||
168 | //#define CONFIG_USBOTG USBOTG_M5636 | ||
169 | |||
170 | /* Define this if you can read an absolute wheel position */ | 177 | /* Define this if you can read an absolute wheel position */ |
171 | #define HAVE_WHEEL_POSITION | 178 | #define HAVE_WHEEL_POSITION |
172 | 179 | ||
@@ -180,12 +187,6 @@ | |||
180 | /* Alternative bootfile extension - this is for encrypted images */ | 187 | /* Alternative bootfile extension - this is for encrypted images */ |
181 | #define BOOTFILE_EXT2 "ipodx" | 188 | #define BOOTFILE_EXT2 "ipodx" |
182 | 189 | ||
183 | #if 0 | ||
184 | #define BOOTLOADER_ENTRYPOINT 0x001F0000 | ||
185 | #define FLASH_ENTRYPOINT 0x00001000 | ||
186 | #define FLASH_MAGIC 0xfbfbfbf1 | ||
187 | #endif | ||
188 | |||
189 | /* Define this for FM radio input available */ | 190 | /* Define this for FM radio input available */ |
190 | #define HAVE_FMRADIO_IN | 191 | #define HAVE_FMRADIO_IN |
191 | 192 | ||
@@ -205,9 +206,18 @@ | |||
205 | 206 | ||
206 | /* USB defines */ | 207 | /* USB defines */ |
207 | #define HAVE_USBSTACK | 208 | #define HAVE_USBSTACK |
209 | //#define HAVE_USB_HID_MOUSE - broken? | ||
208 | #define CONFIG_USBOTG USBOTG_S3C6400X | 210 | #define CONFIG_USBOTG USBOTG_S3C6400X |
209 | #define USB_VENDOR_ID 0x05AC | 211 | #define USB_VENDOR_ID 0x05AC |
210 | #define USB_PRODUCT_ID 0x1260 | 212 | #define USB_PRODUCT_ID 0x1260 |
211 | #define USB_NUM_ENDPOINTS 5 | 213 | #define USB_NUM_ENDPOINTS 5 |
212 | #define USE_ROCKBOX_USB | 214 | #define USE_ROCKBOX_USB |
213 | #define USB_DEVBSS_ATTR __attribute__((aligned(16))) | 215 | #define USB_DEVBSS_ATTR __attribute__((aligned(16))) |
216 | |||
217 | /* Define this if you can switch on/off the accessory power supply */ | ||
218 | #define HAVE_ACCESSORY_SUPPLY | ||
219 | //#define IPOD_ACCESSORY_PROTOCOL | ||
220 | //#define HAVE_SERIAL | ||
221 | |||
222 | #define STORAGE_ALIGN_MASK 15 | ||
223 | |||