summaryrefslogtreecommitdiff
path: root/firmware/export/pp5020.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-05 23:24:46 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-05 23:24:46 +0000
commit18e87ff1c0f1ce737f2bcfa80ccfc79fae21ee28 (patch)
treebc9ee66f6cfb3fd696548567911600e387bda951 /firmware/export/pp5020.h
parentc27ae40ca2893aea6402d1abfe56d5993217b103 (diff)
downloadrockbox-18e87ff1c0f1ce737f2bcfa80ccfc79fae21ee28.zip
rockbox-18e87ff1c0f1ce737f2bcfa80ccfc79fae21ee28.tar.gz
rockbox-18e87ff1c0f1ce737f2bcfa80ccfc79fae21ee28.tar.bz2
rockbox-18e87ff1c0f1ce737f2bcfa80ccfc79fae21ee28.tar.xz
Stabilize PP5020 targets - tested on H10 5/20GB and iPod Color. Use no interrupts on COP but pulse it through the control interface. Don't mess with LCD clocking during clock changes. Give a reset register a name (DEV_OFF_MASK).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14998 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5020.h')
-rw-r--r--firmware/export/pp5020.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h
index cbaa64d..af78101 100644
--- a/firmware/export/pp5020.h
+++ b/firmware/export/pp5020.h
@@ -116,8 +116,9 @@
#define RTC (*(volatile unsigned long *)(0x60005014))
/* Device Controller */
-#define DEV_RS (*(volatile unsigned long *)(0x60006004))
-#define DEV_EN (*(volatile unsigned long *)(0x6000600c))
+#define DEV_RS (*(volatile unsigned long *)(0x60006004))
+#define DEV_OFF_MASK (*(volatile unsigned long *)(0x60006008))
+#define DEV_EN (*(volatile unsigned long *)(0x6000600c))
#define DEV_SYSTEM 0x00000004
#define DEV_SER0 0x00000040