summaryrefslogtreecommitdiff
path: root/common/include/asm/arch/irqs.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/include/asm/arch/irqs.h')
-rw-r--r--common/include/asm/arch/irqs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/include/asm/arch/irqs.h b/common/include/asm/arch/irqs.h
index a915359465..b86301240d 100644
--- a/common/include/asm/arch/irqs.h
+++ b/common/include/asm/arch/irqs.h
@@ -20,6 +20,8 @@
#ifndef __ASM_ARCH_IRQS_H
#define __ASM_ARCH_IRQS_H
+#include <asm/arch/ips/gic.h>
+
#if defined (CONFIG_CHIP_FEATURE_INT_MAP_V1)
#define INT_TIMER_1 0
@@ -138,7 +140,7 @@
# error "no irqs definition"
#endif
-#define NR_IRQS 32
+#define NR_IRQS GIC_LINES_NB
#ifndef NO_IRQ
#define NO_IRQ ((unsigned int)(-1))