diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-07 00:43:48 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-07 00:43:48 +0000 |
commit | b82c441f290cda0faffbf467aaf4eb990c07dcc9 (patch) | |
tree | 894ad24dee14e64cd89ca8c135332d5578a4e906 /firmware/export/pp5020.h | |
parent | ee927e6514d38fe29524aea39d1f0883d3005ad3 (diff) | |
download | rockbox-b82c441f290cda0faffbf467aaf4eb990c07dcc9.tar.gz rockbox-b82c441f290cda0faffbf467aaf4eb990c07dcc9.zip |
iPod: Add USB detection. When inserting the USB cable, hold down MENU to charge via USB, otherwise Rockbox will reboot into the Disk Mode application stored in flash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8303 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5020.h')
-rw-r--r-- | firmware/export/pp5020.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index d2dbffc615..14dd2ba1c1 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h | |||
@@ -87,4 +87,7 @@ | |||
87 | #define PP5020_SER1_MASK (1 << (PP5020_SER1_IRQ-32)) | 87 | #define PP5020_SER1_MASK (1 << (PP5020_SER1_IRQ-32)) |
88 | #define PP5020_I2C_MASK (1 << (PP5020_I2C_IRQ-32)) | 88 | #define PP5020_I2C_MASK (1 << (PP5020_I2C_IRQ-32)) |
89 | 89 | ||
90 | #define USB2D_IDENT (*(volatile unsigned long*)(0xc5000000)) | ||
91 | #define USB_STATUS (*(volatile unsigned long*)(0xc50001a4)) | ||
92 | |||
90 | #endif | 93 | #endif |