diff options
author | Andrew Isaacson <adi@broadcom.com> | 2005-10-20 02:55:11 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:45 -0400 |
commit | 4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2 (patch) | |
tree | fa7701264e60759b080b7953bcfad081a51e63d2 /include/asm-mips/sibyte/sb1250.h | |
parent | d121ced21d79eab7726bfe6b1e33da4ae86072c0 (diff) |
BCM1480 headers
Add header files for BCM1480/1280/1455/1255 family of chips, and
update sb1250 headers which are shared by BCM1480 family.
Signed-Off-By: Andy Isaacson <adi@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/include/asm-mips/sibyte/bcm1480_int.h b/include/asm-mips/sibyte/bcm1480_int.h
new file mode 100644
Diffstat (limited to 'include/asm-mips/sibyte/sb1250.h')
-rw-r--r-- | include/asm-mips/sibyte/sb1250.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-mips/sibyte/sb1250.h b/include/asm-mips/sibyte/sb1250.h index 3cc341ac87c7..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 \ |