summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/pp5002.h5
-rw-r--r--firmware/export/pp5020.h3
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