diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/irqs.h')
| -rw-r--r-- | arch/arm/plat-mxc/include/mach/irqs.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/include/mach/irqs.h b/arch/arm/plat-mxc/include/mach/irqs.h index 00e812bbd81d..fd9efb044656 100644 --- a/arch/arm/plat-mxc/include/mach/irqs.h +++ b/arch/arm/plat-mxc/include/mach/irqs.h | |||
| @@ -14,9 +14,15 @@ | |||
| 14 | #include <asm-generic/gpio.h> | 14 | #include <asm-generic/gpio.h> |
| 15 | 15 | ||
| 16 | /* | 16 | /* |
| 17 | * SoCs with TZIC interrupt controller have 128 IRQs, those with AVIC have 64 | 17 | * SoCs with GIC interrupt controller have 160 IRQs, those with TZIC |
| 18 | * have 128 IRQs, and those with AVIC have 64. | ||
| 19 | * | ||
| 20 | * To support single image, the biggest number should be defined on | ||
| 21 | * top of the list. | ||
| 18 | */ | 22 | */ |
| 19 | #ifdef CONFIG_MXC_TZIC | 23 | #if defined CONFIG_ARM_GIC |
| 24 | #define MXC_INTERNAL_IRQS 160 | ||
| 25 | #elif defined CONFIG_MXC_TZIC | ||
| 20 | #define MXC_INTERNAL_IRQS 128 | 26 | #define MXC_INTERNAL_IRQS 128 |
| 21 | #else | 27 | #else |
| 22 | #define MXC_INTERNAL_IRQS 64 | 28 | #define MXC_INTERNAL_IRQS 64 |
