aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4a
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-08-12 02:31:29 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-09-20 22:57:50 -0400
commit46420e49c9fd76defecfb3f048ab20c5a72dfd0a (patch)
tree08f30f269fba1fd71f00e2902ba310b49a698df6 /arch/sh/kernel/cpu/sh4a
parentf8b40d8ce86035b126a27a57ed9139c08ae3ebf1 (diff)
sh: x3 - add ipi vectors
With the intc dual prio register support in place it is now possible to add the ipi vectors to x3. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a')
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-shx3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-shx3.c b/arch/sh/kernel/cpu/sh4a/setup-shx3.c
index 2c13f9ceac74..3c8a2edff2c9 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-shx3.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-shx3.c
@@ -89,6 +89,8 @@ enum {
89 FE0, FE1, 89 FE0, FE1,
90 GPIO0, GPIO1, GPIO2, GPIO3, 90 GPIO0, GPIO1, GPIO2, GPIO3,
91 PAM, IRM, 91 PAM, IRM,
92 INTICI0, INTICI1, INTICI2, INTICI3,
93 INTICI4, INTICI5, INTICI6, INTICI7,
92 94
93 /* interrupt groups */ 95 /* interrupt groups */
94 IRL, PCII56789, SCIF0, SCIF1, SCIF2, SCIF3, 96 IRL, PCII56789, SCIF0, SCIF1, SCIF2, SCIF3,
@@ -137,6 +139,10 @@ static struct intc_vect vectors[] = {
137 INTC_VECT(GPIO0, 0xe40), INTC_VECT(GPIO1, 0xe60), 139 INTC_VECT(GPIO0, 0xe40), INTC_VECT(GPIO1, 0xe60),
138 INTC_VECT(GPIO2, 0xe80), INTC_VECT(GPIO3, 0xea0), 140 INTC_VECT(GPIO2, 0xe80), INTC_VECT(GPIO3, 0xea0),
139 INTC_VECT(PAM, 0xec0), INTC_VECT(IRM, 0xee0), 141 INTC_VECT(PAM, 0xec0), INTC_VECT(IRM, 0xee0),
142 INTC_VECT(INTICI0, 0xf00), INTC_VECT(INTICI1, 0xf20),
143 INTC_VECT(INTICI2, 0xf40), INTC_VECT(INTICI3, 0xf60),
144 INTC_VECT(INTICI4, 0xf80), INTC_VECT(INTICI5, 0xfa0),
145 INTC_VECT(INTICI6, 0xfc0), INTC_VECT(INTICI7, 0xfe0),
140}; 146};
141 147
142static struct intc_group groups[] = { 148static struct intc_group groups[] = {
@@ -207,6 +213,9 @@ static struct intc_prio_reg prio_registers[] = {
207 VIN1, VIN0, IIC, DU} }, 213 VIN1, VIN0, IIC, DU} },
208 { 0xfe410810, 0, 32, 4, /* INT2PRI4 */ { 0, 0, PAM, GPIO3, 214 { 0xfe410810, 0, 32, 4, /* INT2PRI4 */ { 0, 0, PAM, GPIO3,
209 GPIO2, GPIO1, GPIO0, IRM } }, 215 GPIO2, GPIO1, GPIO0, IRM } },
216 { 0xfe410090, 0xfe4100a0, 32, 4, /* CnICIPRI / CnICIPRICLR */
217 { INTICI7, INTICI6, INTICI5, INTICI4,
218 INTICI3, INTICI2, INTICI1, INTICI0 } },
210}; 219};
211 220
212static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups, priorities, 221static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups, priorities,