diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-01-28 18:42:11 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-01-28 18:42:11 +0000 |
commit | 84b509dc43cf84ef16fcd4a57b167351f146cd11 (patch) | |
tree | 57eca4b44db56e11c1a3d9dde5d0e4ef8e830686 /firmware/export | |
parent | 6c3a44643590f8cbc925375c2dc8393cc7f9d55e (diff) | |
download | rockbox-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')
-rw-r--r-- | firmware/export/pp5002.h | 4 | ||||
-rw-r--r-- | firmware/export/pp5020.h | 2 |
2 files changed, 6 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 | ||
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index a71ca7ef05..4e0e6eac2a 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h | |||
@@ -20,6 +20,8 @@ | |||
20 | #define __PP5020_H__ | 20 | #define __PP5020_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 0x10000000 | ||
24 | |||
23 | #define CPU_CTL (*(volatile unsigned long *)(0x60007000)) | 25 | #define CPU_CTL (*(volatile unsigned long *)(0x60007000)) |
24 | #define COP_CTL (*(volatile unsigned long *)(0x60007004)) | 26 | #define COP_CTL (*(volatile unsigned long *)(0x60007004)) |
25 | 27 | ||