summaryrefslogtreecommitdiff
path: root/firmware/export/pp5020.h
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-02-16 22:13:21 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-02-16 22:13:21 +0000
commit3a6d4791d70fc9f4adad7a0cbc1b808b7c942652 (patch)
treebf28466309953e530eacbaa0f2c88e0abffa6c9b /firmware/export/pp5020.h
parentb045a2425c4f7d2e9c9853c01897b1ba0dd6ae01 (diff)
No functional changes, just reorganising code:
1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in the future we will be able to adapt more of the Linux driver and add it to this file. 2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller. 3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead. 4) Add dr_controller_stop(). Not used yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5020.h')
-rw-r--r--firmware/export/pp5020.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h
index 4e0e6eac2a..d30489526a 100644
--- a/firmware/export/pp5020.h
+++ b/firmware/export/pp5020.h
@@ -174,6 +174,9 @@
#define IISFIFO_WR (*(volatile unsigned long*)(0x70002840))
#define IISFIFO_RD (*(volatile unsigned long*)(0x70002880))
+/* The PortalPlayer USB controller uses base address 0xc5000000 */
+#define USB_BASE 0xc5000000
+
#define PROC_SLEEP 0x80000000
#define PROC_WAKE 0x0