diff options
Diffstat (limited to 'include/asm-mips/sibyte/sb1250.h')
-rw-r--r-- | include/asm-mips/sibyte/sb1250.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/asm-mips/sibyte/sb1250.h b/include/asm-mips/sibyte/sb1250.h index d62da4e2dd36..a474c29cd701 100644 --- a/include/asm-mips/sibyte/sb1250.h +++ b/include/asm-mips/sibyte/sb1250.h | |||
@@ -27,6 +27,9 @@ | |||
27 | 27 | ||
28 | #define SB1250_NR_IRQS 64 | 28 | #define SB1250_NR_IRQS 64 |
29 | 29 | ||
30 | #define BCM1480_NR_IRQS 128 | ||
31 | #define BCM1480_NR_IRQS_HALF 64 | ||
32 | |||
30 | #define SB1250_DUART_MINOR_BASE 64 | 33 | #define SB1250_DUART_MINOR_BASE 64 |
31 | 34 | ||
32 | #ifndef __ASSEMBLY__ | 35 | #ifndef __ASSEMBLY__ |
@@ -35,6 +38,7 @@ | |||
35 | 38 | ||
36 | /* For revision/pass information */ | 39 | /* For revision/pass information */ |
37 | #include <asm/sibyte/sb1250_scd.h> | 40 | #include <asm/sibyte/sb1250_scd.h> |
41 | #include <asm/sibyte/bcm1480_scd.h> | ||
38 | extern unsigned int sb1_pass; | 42 | extern unsigned int sb1_pass; |
39 | extern unsigned int soc_pass; | 43 | extern unsigned int soc_pass; |
40 | extern unsigned int soc_type; | 44 | extern unsigned int soc_type; |
@@ -46,6 +50,13 @@ extern unsigned long sb1250_gettimeoffset(void); | |||
46 | extern void sb1250_mask_irq(int cpu, int irq); | 50 | extern void sb1250_mask_irq(int cpu, int irq); |
47 | extern void sb1250_unmask_irq(int cpu, int irq); | 51 | extern void sb1250_unmask_irq(int cpu, int irq); |
48 | extern void sb1250_smp_finish(void); | 52 | extern void sb1250_smp_finish(void); |
53 | |||
54 | extern void bcm1480_time_init(void); | ||
55 | extern unsigned long bcm1480_gettimeoffset(void); | ||
56 | extern void bcm1480_mask_irq(int cpu, int irq); | ||
57 | extern void bcm1480_unmask_irq(int cpu, int irq); | ||
58 | extern void bcm1480_smp_finish(void); | ||
59 | |||
49 | extern void prom_printf(char *fmt, ...); | 60 | extern void prom_printf(char *fmt, ...); |
50 | 61 | ||
51 | #define AT_spin \ | 62 | #define AT_spin \ |
@@ -58,6 +69,6 @@ extern void prom_printf(char *fmt, ...); | |||
58 | 69 | ||
59 | #endif | 70 | #endif |
60 | 71 | ||
61 | #define IOADDR(a) (IO_BASE + (a)) | 72 | #define IOADDR(a) ((volatile void __iomem *)(IO_BASE + (a))) |
62 | 73 | ||
63 | #endif | 74 | #endif |