From b82c441f290cda0faffbf467aaf4eb990c07dcc9 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 7 Jan 2006 00:43:48 +0000 Subject: 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 --- firmware/export/pp5020.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/pp5020.h') 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 @@ #define PP5020_SER1_MASK (1 << (PP5020_SER1_IRQ-32)) #define PP5020_I2C_MASK (1 << (PP5020_I2C_IRQ-32)) +#define USB2D_IDENT (*(volatile unsigned long*)(0xc5000000)) +#define USB_STATUS (*(volatile unsigned long*)(0xc50001a4)) + #endif -- cgit v1.2.3