diff options
Diffstat (limited to 'arch/powerpc/include/asm/mpic.h')
-rw-r--r-- | arch/powerpc/include/asm/mpic.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h index 754f93d208fa..98697611e7b3 100644 --- a/arch/powerpc/include/asm/mpic.h +++ b/arch/powerpc/include/asm/mpic.h | |||
@@ -34,10 +34,6 @@ | |||
34 | #define MPIC_GREG_GCONF_BASE_MASK 0x000fffff | 34 | #define MPIC_GREG_GCONF_BASE_MASK 0x000fffff |
35 | #define MPIC_GREG_GCONF_MCK 0x08000000 | 35 | #define MPIC_GREG_GCONF_MCK 0x08000000 |
36 | #define MPIC_GREG_GLOBAL_CONF_1 0x00030 | 36 | #define MPIC_GREG_GLOBAL_CONF_1 0x00030 |
37 | #define MPIC_GREG_GLOBAL_CONF_1_SIE 0x08000000 | ||
38 | #define MPIC_GREG_GLOBAL_CONF_1_CLK_RATIO_MASK 0x70000000 | ||
39 | #define MPIC_GREG_GLOBAL_CONF_1_CLK_RATIO(r) \ | ||
40 | (((r) << 28) & MPIC_GREG_GLOBAL_CONF_1_CLK_RATIO_MASK) | ||
41 | #define MPIC_GREG_VENDOR_0 0x00040 | 37 | #define MPIC_GREG_VENDOR_0 0x00040 |
42 | #define MPIC_GREG_VENDOR_1 0x00050 | 38 | #define MPIC_GREG_VENDOR_1 0x00050 |
43 | #define MPIC_GREG_VENDOR_2 0x00060 | 39 | #define MPIC_GREG_VENDOR_2 0x00060 |
@@ -396,14 +392,7 @@ extern struct bus_type mpic_subsys; | |||
396 | #define MPIC_REGSET_TSI108 MPIC_REGSET(1) /* Tsi108/109 PIC */ | 392 | #define MPIC_REGSET_TSI108 MPIC_REGSET(1) /* Tsi108/109 PIC */ |
397 | 393 | ||
398 | /* Get the version of primary MPIC */ | 394 | /* Get the version of primary MPIC */ |
399 | #ifdef CONFIG_MPIC | ||
400 | extern u32 fsl_mpic_primary_get_version(void); | 395 | extern u32 fsl_mpic_primary_get_version(void); |
401 | #else | ||
402 | static inline u32 fsl_mpic_primary_get_version(void) | ||
403 | { | ||
404 | return 0; | ||
405 | } | ||
406 | #endif | ||
407 | 396 | ||
408 | /* Allocate the controller structure and setup the linux irq descs | 397 | /* Allocate the controller structure and setup the linux irq descs |
409 | * for the range if interrupts passed in. No HW initialization is | 398 | * for the range if interrupts passed in. No HW initialization is |
@@ -496,11 +485,5 @@ extern unsigned int mpic_get_coreint_irq(void); | |||
496 | /* Fetch Machine Check interrupt from primary mpic */ | 485 | /* Fetch Machine Check interrupt from primary mpic */ |
497 | extern unsigned int mpic_get_mcirq(void); | 486 | extern unsigned int mpic_get_mcirq(void); |
498 | 487 | ||
499 | /* Set the EPIC clock ratio */ | ||
500 | void mpic_set_clk_ratio(struct mpic *mpic, u32 clock_ratio); | ||
501 | |||
502 | /* Enable/Disable EPIC serial interrupt mode */ | ||
503 | void mpic_set_serial_int(struct mpic *mpic, int enable); | ||
504 | |||
505 | #endif /* __KERNEL__ */ | 488 | #endif /* __KERNEL__ */ |
506 | #endif /* _ASM_POWERPC_MPIC_H */ | 489 | #endif /* _ASM_POWERPC_MPIC_H */ |