aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/include/mach/irqs-board-u5500.h
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-03-29 21:59:51 +0200
committerLinus Walleij <linus.walleij@linaro.org>2011-05-24 22:11:45 +0200
commit06be2efaf444f6b639892394e0a6afcd73fe1de4 (patch)
tree18a3f558219bd81a9d56b5f5e8d0dbcd46a33fcb /arch/arm/mach-ux500/include/mach/irqs-board-u5500.h
parentb25962599bcc31cf685127c682931e07167f3d1a (diff)
downloadkernel_samsung_smdk4412-06be2efaf444f6b639892394e0a6afcd73fe1de4.zip
kernel_samsung_smdk4412-06be2efaf444f6b639892394e0a6afcd73fe1de4.tar.gz
kernel_samsung_smdk4412-06be2efaf444f6b639892394e0a6afcd73fe1de4.tar.bz2
mach-ux500: update SoC and board IRQ handling
This splits out a per-SoC IRQ range handling, so that the DB8500 and DB5500 SoC:s can reuse aproximately the same IRQ range with the largest span setting the roof. The same change is done for the boards, mutatis mutandis, with a new file for the U5500 board. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/irqs-board-u5500.h')
-rw-r--r--arch/arm/mach-ux500/include/mach/irqs-board-u5500.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/irqs-board-u5500.h b/arch/arm/mach-ux500/include/mach/irqs-board-u5500.h
new file mode 100644
index 0000000..29d972c
--- /dev/null
+++ b/arch/arm/mach-ux500/include/mach/irqs-board-u5500.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) ST-Ericsson SA 2010
+ *
+ * License terms: GNU General Public License (GPL) version 2
+ */
+
+#ifndef __MACH_IRQS_BOARD_U5500_H
+#define __MACH_IRQS_BOARD_U5500_H
+
+#define AB5500_NR_IRQS 5
+#define IRQ_AB5500_BASE IRQ_BOARD_START
+#define IRQ_AB5500_END (IRQ_AB5500_BASE + AB5500_NR_IRQS)
+
+#define U5500_IRQ_END IRQ_AB5500_END
+
+#if IRQ_BOARD_END < U5500_IRQ_END
+#undef IRQ_BOARD_END
+#define IRQ_BOARD_END U5500_IRQ_END
+#endif
+
+#endif