summaryrefslogtreecommitdiff
path: root/firmware/export/pp5002.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-10-12 00:28:57 +0000
committerJens Arnold <amiconn@rockbox.org>2007-10-12 00:28:57 +0000
commit8aeed2d32e4312da426a1ba16f975923adc3cfbe (patch)
tree1a73f301a7d9bd1ea923184a8297a035557d48f7 /firmware/export/pp5002.h
parente88ac4ce4a356450fafa7d06d2581ebcf425702c (diff)
downloadrockbox-8aeed2d32e4312da426a1ba16f975923adc3cfbe.tar.gz
rockbox-8aeed2d32e4312da426a1ba16f975923adc3cfbe.zip
PP LCD drivers: * Optimised and cleaned up PP colour LCD drivers. Immeasurable speedup on iPod Color, huge speedup on small H10 (a factor of 3). Should be a bit faster on big H10 too. * Big H10 changed bitmap format, so needs reconfiguring + full rebuild. * Better register naming for the mono LCD bridge. Register names for the colour LCD bridge.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15082 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5002.h')
-rw-r--r--firmware/export/pp5002.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/export/pp5002.h b/firmware/export/pp5002.h
index c4baa7cfd3..b2e02f6174 100644
--- a/firmware/export/pp5002.h
+++ b/firmware/export/pp5002.h
@@ -23,11 +23,13 @@
23#define DRAM_START 0x28000000 23#define DRAM_START 0x28000000
24 24
25/* LCD bridge */ 25/* LCD bridge */
26#define LCD1_BASE (*(volatile unsigned long *)(0xc0001000)) 26#define LCD1_BASE 0xc0001000
27#define LCD1_CMD (*(volatile unsigned long *)(0xc0001008))
28#define LCD1_DATA (*(volatile unsigned long *)(0xc0001010))
29 27
30#define LCD1_BUSY_MASK 0x8000 28#define LCD1_CONTROL (*(volatile unsigned long *)(0xc0001000))
29#define LCD1_CMD (*(volatile unsigned long *)(0xc0001008))
30#define LCD1_DATA (*(volatile unsigned long *)(0xc0001010))
31
32#define LCD1_BUSY_MASK 0x8000
31 33
32/* I2S controller */ 34/* I2S controller */
33#define IISCONFIG (*(volatile unsigned long *)(0xc0002500)) 35#define IISCONFIG (*(volatile unsigned long *)(0xc0002500))