summaryrefslogtreecommitdiff
path: root/firmware/export/pp5002.h
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-01-28 18:42:11 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-01-28 18:42:11 +0000
commit84b509dc43cf84ef16fcd4a57b167351f146cd11 (patch)
tree57eca4b44db56e11c1a3d9dde5d0e4ef8e830686 /firmware/export/pp5002.h
parent6c3a44643590f8cbc925375c2dc8393cc7f9d55e (diff)
downloadrockbox-84b509dc43cf84ef16fcd4a57b167351f146cd11.tar.gz
rockbox-84b509dc43cf84ef16fcd4a57b167351f146cd11.zip
FS#6554. Move bootloader code into a common file. Only PortalPlayer devices (iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/pp5002.h')
-rw-r--r--firmware/export/pp5002.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/pp5002.h b/firmware/export/pp5002.h
index 41e8f4cce2..c7606886bc 100644
--- a/firmware/export/pp5002.h
+++ b/firmware/export/pp5002.h
@@ -20,6 +20,10 @@
20#define __PP5002_H__ 20#define __PP5002_H__
21 21
22/* All info gleaned and/or copied from the iPodLinux project. */ 22/* All info gleaned and/or copied from the iPodLinux project. */
23#define DRAM_START 0x28000000
24
25#define IPOD_LCD_BASE 0xc0001000
26
23#define CPU_CTL (*(volatile unsigned char *)(0xcf004054)) 27#define CPU_CTL (*(volatile unsigned char *)(0xcf004054))
24#define COP_CTL (*(volatile unsigned char *)(0xcf004058)) 28#define COP_CTL (*(volatile unsigned char *)(0xcf004058))
25 29