]> git.karo-electronics.de Git - linux-beck.git/commitdiff
MIPS: Malta: Move MSC01 interrupt base
authorAndrew Bresticker <abrestic@chromium.org>
Thu, 18 Sep 2014 21:47:17 +0000 (14:47 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:44:54 +0000 (07:44 +0100)
The GIC on Malta boards supports a total of 47 interrupts (40 shared
and 7 local) and is assigned a base of 24.  This overlaps with the
MSC01 interrupt assignments which have a base of 64, so move the MSC01
interrupt base back a bit to give the GIC some room.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com>
Tested-by: Qais Yousef <qais.yousef@imgtec.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Jonas Gorski <jogo@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: David Daney <ddaney.cavm@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7815/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-boards/maltaint.h

index e330732ddf9817211b016dc605d1f0ace87386ff..4186606bef0c8c020a7a1eca5f4adf2042259d1e 100644 (file)
 #define MIPSCPU_INT_CORELO     MIPSCPU_INT_MB4
 
 /*
- * Interrupts 64..127 are used for Soc-it Classic interrupts
+ * Interrupts 96..127 are used for Soc-it Classic interrupts
  */
-#define MSC01C_INT_BASE                64
+#define MSC01C_INT_BASE                96
 
 /* SOC-it Classic interrupt offsets */
 #define MSC01C_INT_TMR         0
 #define MSC01C_INT_PCI         1
 
 /*
- * Interrupts 64..127 are used for Soc-it EIC interrupts
+ * Interrupts 96..127 are used for Soc-it EIC interrupts
  */
-#define MSC01E_INT_BASE                64
+#define MSC01E_INT_BASE                96
 
 /* SOC-it EIC interrupt offsets */
 #define MSC01E_INT_SW0         1