2 * IRQ helper macros for spear machine family
4 * Copyright (C) 2009-2012 ST Microelectronics
5 * Rajeev Kumar <rajeev-dlh.kumar@st.com>
6 * Viresh Kumar <viresh.linux@gmail.com>
8 * This file is licensed under the terms of the GNU General Public
9 * License version 2. This program is licensed "as is" without any
10 * warranty of any kind, whether express or implied.
16 #ifdef CONFIG_ARCH_SPEAR3XX
20 #ifdef CONFIG_ARCH_SPEAR6XX
23 #define IRQ_VIC_END 64
25 /* GPIO pins virtual irqs */
26 #define VIRTUAL_IRQS 24
27 #define NR_IRQS (IRQ_VIC_END + VIRTUAL_IRQS)
30 #ifdef CONFIG_ARCH_SPEAR13XX
31 #define IRQ_GIC_END 160
32 #define NR_IRQS IRQ_GIC_END
35 #endif /* __MACH_IRQS_H */