diff options
Diffstat (limited to 'include/asm-mips/dec/kn02xa.h')
-rw-r--r-- | include/asm-mips/dec/kn02xa.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/include/asm-mips/dec/kn02xa.h b/include/asm-mips/dec/kn02xa.h index 3c25a3346f3f..a25f3d7da7f7 100644 --- a/include/asm-mips/dec/kn02xa.h +++ b/include/asm-mips/dec/kn02xa.h | |||
@@ -17,31 +17,23 @@ | |||
17 | #ifndef __ASM_MIPS_DEC_KN02XA_H | 17 | #ifndef __ASM_MIPS_DEC_KN02XA_H |
18 | #define __ASM_MIPS_DEC_KN02XA_H | 18 | #define __ASM_MIPS_DEC_KN02XA_H |
19 | 19 | ||
20 | #include <asm/addrspace.h> | ||
21 | #include <asm/dec/ioasic_addrs.h> | 20 | #include <asm/dec/ioasic_addrs.h> |
22 | 21 | ||
23 | #define KN02XA_SLOT_BASE CKSEG1ADDR(0x1c000000) | 22 | #define KN02XA_SLOT_BASE 0x1c000000 |
24 | |||
25 | /* | ||
26 | * Some port addresses... | ||
27 | */ | ||
28 | #define KN02XA_IOASIC_BASE (KN02XA_SLOT_BASE + IOASIC_IOCTL) /* I/O ASIC */ | ||
29 | #define KN02XA_RTC_BASE (KN02XA_SLOT_BASE + IOASIC_TOY) /* RTC */ | ||
30 | |||
31 | 23 | ||
32 | /* | 24 | /* |
33 | * Memory control ASIC registers. | 25 | * Memory control ASIC registers. |
34 | */ | 26 | */ |
35 | #define KN02XA_MER CKSEG1ADDR(0x0c400000) /* memory error register */ | 27 | #define KN02XA_MER 0x0c400000 /* memory error register */ |
36 | #define KN02XA_MSR CKSEG1ADDR(0x0c800000) /* memory size register */ | 28 | #define KN02XA_MSR 0x0c800000 /* memory size register */ |
37 | 29 | ||
38 | /* | 30 | /* |
39 | * CPU control ASIC registers. | 31 | * CPU control ASIC registers. |
40 | */ | 32 | */ |
41 | #define KN02XA_MEM_CONF CKSEG1ADDR(0x0e000000) /* write timeout config */ | 33 | #define KN02XA_MEM_CONF 0x0e000000 /* write timeout config */ |
42 | #define KN02XA_EAR CKSEG1ADDR(0x0e000004) /* error address register */ | 34 | #define KN02XA_EAR 0x0e000004 /* error address register */ |
43 | #define KN02XA_BOOT0 CKSEG1ADDR(0x0e000008) /* boot 0 register */ | 35 | #define KN02XA_BOOT0 0x0e000008 /* boot 0 register */ |
44 | #define KN02XA_MEM_INTR CKSEG1ADDR(0x0e00000c) /* write err IRQ stat & ack */ | 36 | #define KN02XA_MEM_INTR 0x0e00000c /* write err IRQ stat & ack */ |
45 | 37 | ||
46 | /* | 38 | /* |
47 | * Memory Error Register bits, common definitions. | 39 | * Memory Error Register bits, common definitions. |