diff options
author | Michael Sparmann <theseven@rockbox.org> | 2009-10-20 06:37:07 +0000 |
---|---|---|
committer | Michael Sparmann <theseven@rockbox.org> | 2009-10-20 06:37:07 +0000 |
commit | d03fe64dcf80633c7ec78f122682e78fb59fe2d8 (patch) | |
tree | a404d7fccf244445572f92b796fb5433c3523d58 /firmware/export/config-ipodnano2g.h | |
parent | 3ad3bec0ad6d8bada7e70d6f646b4b13a2fedbf4 (diff) | |
download | rockbox-d03fe64dcf80633c7ec78f122682e78fb59fe2d8.tar.gz rockbox-d03fe64dcf80633c7ec78f122682e78fb59fe2d8.zip |
iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by default for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23285 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodnano2g.h')
-rw-r--r-- | firmware/export/config-ipodnano2g.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/config-ipodnano2g.h b/firmware/export/config-ipodnano2g.h index 25e9eff3f0..0946610eac 100644 --- a/firmware/export/config-ipodnano2g.h +++ b/firmware/export/config-ipodnano2g.h | |||
@@ -161,9 +161,6 @@ | |||
161 | /* USB On-the-go */ | 161 | /* USB On-the-go */ |
162 | //#define CONFIG_USBOTG USBOTG_M5636 | 162 | //#define CONFIG_USBOTG USBOTG_M5636 |
163 | 163 | ||
164 | /* We reboot into the OF to handle USB */ | ||
165 | #define USB_HANDLED_BY_OF | ||
166 | |||
167 | /* Define this if you can read an absolute wheel position */ | 164 | /* Define this if you can read an absolute wheel position */ |
168 | #define HAVE_WHEEL_POSITION | 165 | #define HAVE_WHEEL_POSITION |
169 | 166 | ||
@@ -201,3 +198,12 @@ | |||
201 | #define MIN_BRIGHTNESS_SETTING 1 | 198 | #define MIN_BRIGHTNESS_SETTING 1 |
202 | #define MAX_BRIGHTNESS_SETTING 0x2e | 199 | #define MAX_BRIGHTNESS_SETTING 0x2e |
203 | #define DEFAULT_BRIGHTNESS_SETTING 0x20 | 200 | #define DEFAULT_BRIGHTNESS_SETTING 0x20 |
201 | |||
202 | /* USB defines */ | ||
203 | #define HAVE_USBSTACK | ||
204 | #define USB_ENABLE_STORAGE | ||
205 | #define USB_VENDOR_ID 0x05AC | ||
206 | #define USB_PRODUCT_ID 0x1260 | ||
207 | #define USB_NUM_ENDPOINTS 5 | ||
208 | /* #define USE_ROCKBOX_USB - needs testing */ | ||
209 | #define USB_DEVBSS_ATTR __attribute__((aligned(16))) | ||