summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-12-20 18:03:40 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-12-20 18:03:40 +0000
commit977c69f8196ccee2f6397a31b1546f036063f389 (patch)
tree27435249e792761fb5e88dacc4e6fa4ebd7b5d08 /firmware/export
parent4b54302b0713be2995a33cfa30d1615fc206f1eb (diff)
iPod 3G is also PortalPlayer so should use the common USB driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11824 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/pp5002.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/pp5002.h b/firmware/export/pp5002.h
index da35fd9200..b1bc6f4d01 100644
--- a/firmware/export/pp5002.h
+++ b/firmware/export/pp5002.h
@@ -59,6 +59,12 @@
#define DEV_RS (*(volatile unsigned long *)( 0xcf005030))
#define DEV_EN (*(volatile unsigned long *)( 0xcf005000))
+#define DEV_USB 0x400000
+
+#define DEV_INIT (*(volatile unsigned long *)(0x70000020))
+
+#define INIT_USB 0x80000000
+
#define CPU_INT_STAT (*(volatile unsigned long*)(0xcf001000))
#define CPU_INT_EN (*(volatile unsigned long*)(0xcf001024))
#define CPU_INT_CLR (*(volatile unsigned long*)(0xcf001028))