diff options
author | Andrew Isaacson <adi@broadcom.com> | 2005-10-19 23:55:11 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 19:32:45 +0100 |
commit | 4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2 (patch) | |
tree | fa7701264e60759b080b7953bcfad081a51e63d2 /include/asm-mips/sibyte/sb1250.h | |
parent | d121ced21d79eab7726bfe6b1e33da4ae86072c0 (diff) | |
download | linux-4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2.tar.gz linux-4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2.tar.bz2 linux-4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2.zip |
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 @@ #define SB1250_NR_IRQS 64 +#define BCM1480_NR_IRQS 128 +#define BCM1480_NR_IRQS_HALF 64 + #define SB1250_DUART_MINOR_BASE 64 #ifndef __ASSEMBLY__ @@ -35,6 +38,7 @@ /* For revision/pass information */ #include <asm/sibyte/sb1250_scd.h> +#include <asm/sibyte/bcm1480_scd.h> extern unsigned int sb1_pass; extern unsigned int soc_pass; extern unsigned int soc_type; @@ -46,6 +50,13 @@ extern unsigned long sb1250_gettimeoffset(void); extern void sb1250_mask_irq(int cpu, int irq); extern void sb1250_unmask_irq(int cpu, int irq); extern void sb1250_smp_finish(void); + +extern void bcm1480_time_init(void); +extern unsigned long bcm1480_gettimeoffset(void); +extern void bcm1480_mask_irq(int cpu, int irq); +extern void bcm1480_unmask_irq(int cpu, int irq); +extern void bcm1480_smp_finish(void); + extern void prom_printf(char *fmt, ...); #define AT_spin \ |