summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/pp5002.h10
-rw-r--r--firmware/export/pp5020.h2
2 files changed, 7 insertions, 5 deletions
diff --git a/firmware/export/pp5002.h b/firmware/export/pp5002.h
index 082fc1c9cc..83f8456bf0 100644
--- a/firmware/export/pp5002.h
+++ b/firmware/export/pp5002.h
@@ -30,13 +30,13 @@
30#define IISFIFO_WR (*(volatile unsigned long *)(0xc0002540)) 30#define IISFIFO_WR (*(volatile unsigned long *)(0xc0002540))
31#define IISFIFO_RD (*(volatile unsigned long *)(0xc0002580)) 31#define IISFIFO_RD (*(volatile unsigned long *)(0xc0002580))
32 32
33#define I2C_BASE 0xc0008000 33#define IDE_BASE 0xc0003000
34
35#define IDE_CFG_STATUS (*(volatile unsigned long *)(0xc0003024))
34 36
35/* The PortalPlayer USB controller uses base address 0xc5000000 */ 37#define USB_BASE 0xc0005000
36#define USB_BASE 0xc5000000
37 38
38#define USB2D_IDENT (*(volatile unsigned long *)(0xc5000000)) 39#define I2C_BASE 0xc0008000
39#define USB_STATUS (*(volatile unsigned long *)(0xc50001a4))
40 40
41#define GPIOA_ENABLE (*(volatile unsigned char *)(0xcf000000)) 41#define GPIOA_ENABLE (*(volatile unsigned char *)(0xcf000000))
42#define GPIOB_ENABLE (*(volatile unsigned char *)(0xcf000004)) 42#define GPIOB_ENABLE (*(volatile unsigned char *)(0xcf000004))
diff --git a/firmware/export/pp5020.h b/firmware/export/pp5020.h
index 873d5c849e..b2c7f4d0d2 100644
--- a/firmware/export/pp5020.h
+++ b/firmware/export/pp5020.h
@@ -299,6 +299,8 @@
299#define I2C_BASE 0x7000c000 299#define I2C_BASE 0x7000c000
300 300
301/* EIDE Controller */ 301/* EIDE Controller */
302#define IDE_BASE 0xc3000000
303
302#define IDE0_PRI_TIMING0 (*(volatile unsigned long*)(0xc3000000)) 304#define IDE0_PRI_TIMING0 (*(volatile unsigned long*)(0xc3000000))
303#define IDE0_PRI_TIMING1 (*(volatile unsigned long*)(0xc3000004)) 305#define IDE0_PRI_TIMING1 (*(volatile unsigned long*)(0xc3000004))
304#define IDE0_SEC_TIMING0 (*(volatile unsigned long*)(0xc3000008)) 306#define IDE0_SEC_TIMING0 (*(volatile unsigned long*)(0xc3000008))