diff options
author | Mattias Wallin <mattias.wallin@stericsson.com> | 2010-05-01 16:26:40 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-05-27 23:37:47 (GMT) |
commit | d162251d1b8860ef489aecb712e5f06c33763ef3 (patch) | |
tree | 5904f7726990c3a7f6914d34daf52e95bc23f6b4 /arch/arm/mach-u300/include | |
parent | 09bcb3f3369e164bf51b3b566b865f2514b23e8c (diff) | |
download | linux-d162251d1b8860ef489aecb712e5f06c33763ef3.tar.xz |
ARM: AB3550 board configuration and irq for U300
This patch adds the i2c board configuration needed for the
Mixed Signal chip AB3550. It also adds the irq numbers needed
for the irq_chip implementation.
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'arch/arm/mach-u300/include')
-rw-r--r-- | arch/arm/mach-u300/include/mach/irqs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/include/mach/irqs.h b/arch/arm/mach-u300/include/mach/irqs.h index a6867b1..09b1b28f 100644 --- a/arch/arm/mach-u300/include/mach/irqs.h +++ b/arch/arm/mach-u300/include/mach/irqs.h @@ -109,6 +109,13 @@ #define U300_NR_IRQS 48 #endif +#ifdef CONFIG_AB3550_CORE +#define IRQ_AB3550_BASE (U300_NR_IRQS) +#define IRQ_AB3550_END (IRQ_AB3550_BASE + 37) + +#define NR_IRQS (IRQ_AB3550_END + 1) +#else #define NR_IRQS U300_NR_IRQS +#endif #endif |