diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2006-08-03 16:29:42 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2006-08-03 16:29:42 +0000 |
commit | cec7cdc3bbf46379131e6951585951cf97444326 (patch) | |
tree | 0ea6c203ed51fad4d51a7dc0fb2090f3f1a55dbb /firmware/export | |
parent | 2fa5d81fcd66abd52cee622ba87787159d3cd2e7 (diff) |
Initial work for coprocessor support on iPods. FS#5755
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10437 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/pp5002.h | 5 | ||||
-rw-r--r-- | firmware/export/pp5020.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/pp5002.h b/firmware/export/pp5002.h index b8f2d519dd..da35fd9200 100644 --- a/firmware/export/pp5002.h +++ b/firmware/export/pp5002.h @@ -20,6 +20,8 @@ #define __PP5002_H__ /* All info gleaned and/or copied from the iPodLinux project. */ +#define CPU_CTL (*(volatile unsigned char *)(0xcf004054)) +#define COP_CTL (*(volatile unsigned char *)(0xcf004058)) #define GPIOA_ENABLE (*(volatile unsigned char *)(0xcf000000)) #define GPIOB_ENABLE (*(volatile unsigned char *)(0xcf000004)) @@ -98,4 +100,7 @@ #define SER1_MASK (1 << SER1_IRQ) #define DMA_OUT_MASK (1 << DMA_OUT_IRQ) +#define PROC_SLEEP 0xca +#define PROC_WAKE 0xce + #endif diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h index cfeb8642b8..ccb49a0d90 100644 --- a/firmware/export/pp5020.h +++ b/firmware/export/pp5020.h @@ -165,4 +165,7 @@ #define IISFIFO_WR (*(volatile unsigned long*)(0x70002840)) #define IISFIFO_RD (*(volatile unsigned long*)(0x70002880)) +#define PROC_SLEEP 0x80000000 +#define PROC_WAKE 0x0 + #endif |