aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2010-05-26 16:42:51 +0200
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:47 -0600
commitf91262279263c4ae77ef798030e7ccee3a854aa6 (patch)
tree8a0d0d994a3d52819f5c887943d428c63dee6d4e /arch/arm/mach-ux500/include
parentaf73cf9fd71c116dc78c0d0792ff75e9fd05631c (diff)
ARM: AB5500 core platform configuration
This patch adds the platform configration part of the mixed-signal chip AB5500. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/500 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Id6eb307fa52a5749b93be35e2dba8413d939731d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2635 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rwxr-xr-xarch/arm/mach-ux500/include/mach/irqs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/irqs.h b/arch/arm/mach-ux500/include/mach/irqs.h
index 88e51d1c4da..208e11c80fa 100755
--- a/arch/arm/mach-ux500/include/mach/irqs.h
+++ b/arch/arm/mach-ux500/include/mach/irqs.h
@@ -111,6 +111,15 @@
#define MBOX_PAIR1_VIRT_IRQ IRQ_MODEM_EVENTS_BASE + 45
#define MBOX_PAIR2_VIRT_IRQ IRQ_MODEM_EVENTS_BASE + 41
+/* This should be fixed properly when the U5500 interrupts are added */
+#ifdef CONFIG_AB5500_CORE
+#define AB5500_NR_IRQS 5
+#define IRQ_AB5500_BASE (IRQ_MODEM_EVENTS_END + 1)
+#define IRQ_AB5500_END (IRQ_AB5500_BASE + AB5500_NR_IRQS)
+#define NR_IRQS (IRQ_AB5500_END)
+#else
+
#define NR_IRQS IRQ_MODEM_EVENTS_END
+#endif
#endif /* ASM_ARCH_IRQS_H */