summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/irqs.h
diff options
context:
space:
mode:
authorAmit Kucheria <amit.kucheria@canonical.com>2010-02-04 12:09:40 -0800
committerAmit Kucheria <amit.kucheria@canonical.com>2010-02-09 18:32:10 +0200
commit438caa3f6c91ba21c539a8547c4075b619dc6500 (patch)
tree6590ae5c3b5140babd9642572a042695a2c49c82 /arch/arm/plat-mxc/include/mach/irqs.h
parent0f3332c4fabb2227b1bc15dc7542017d08f10a09 (diff)
downloadblackbird-op-linux-438caa3f6c91ba21c539a8547c4075b619dc6500.tar.gz
blackbird-op-linux-438caa3f6c91ba21c539a8547c4075b619dc6500.zip
mxc: changes to common plat-mxc code to add support for i.MX5
Prepare for i.MX5 SoC code by adding the relevant macros to common plat-mxc code. Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/irqs.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/irqs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/irqs.h b/arch/arm/plat-mxc/include/mach/irqs.h
index 38f150162e45..a3ad643de5a1 100644
--- a/arch/arm/plat-mxc/include/mach/irqs.h
+++ b/arch/arm/plat-mxc/include/mach/irqs.h
@@ -30,6 +30,8 @@
#define MXC_GPIO_IRQS (32 * 3)
#elif defined CONFIG_ARCH_MX25
#define MXC_GPIO_IRQS (32 * 4)
+#elif defined CONFIG_ARCH_MX5
+#define MXC_GPIO_IRQS (32 * 4)
#elif defined CONFIG_ARCH_MXC91231
#define MXC_GPIO_IRQS (32 * 4)
#endif
@@ -55,6 +57,7 @@
#else
#define MX3_IPU_IRQS 0
#endif
+/* REVISIT: Add IPU irqs on IMX51 */
#define NR_IRQS (MXC_IPU_IRQ_START + MX3_IPU_IRQS)
OpenPOWER on IntegriCloud