aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-g4evm.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-05-20 10:39:21 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-05-22 04:22:56 -0400
commit043296dd430c26cab042dd75341f458c92d824b9 (patch)
treef7f9ee644b4ee72165c49f037e68fa4e0cb9fa18 /arch/arm/mach-shmobile/board-g4evm.c
parent7490509fbca3e17e3a220533ea9b686f46c1e64d (diff)
ARM: mach-shmobile: sh7377/G4EVM evt2irq() update
This patch updates the irq numbers on sh7377/G4EVM to make use of evt2irq() and intcs_evt2irq(). Makes the system cope with an updated INTCS_VECT_BASE. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-g4evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-g4evm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/board-g4evm.c b/arch/arm/mach-shmobile/board-g4evm.c
index 33441d58cfa6..b75372e0563f 100644
--- a/arch/arm/mach-shmobile/board-g4evm.c
+++ b/arch/arm/mach-shmobile/board-g4evm.c
@@ -138,8 +138,7 @@ static struct resource usb_host_resources[] = {
138 .flags = IORESOURCE_MEM, 138 .flags = IORESOURCE_MEM,
139 }, 139 },
140 [1] = { 140 [1] = {
141 .start = 65, 141 .start = evt2irq(0x0a20), /* USBHS_USHI0 */
142 .end = 65,
143 .flags = IORESOURCE_IRQ, 142 .flags = IORESOURCE_IRQ,
144 }, 143 },
145}; 144};
@@ -180,7 +179,7 @@ static struct resource keysc_resources[] = {
180 .flags = IORESOURCE_MEM, 179 .flags = IORESOURCE_MEM,
181 }, 180 },
182 [1] = { 181 [1] = {
183 .start = 79, 182 .start = evt2irq(0x0be0), /* KEYSC_KEY */
184 .flags = IORESOURCE_IRQ, 183 .flags = IORESOURCE_IRQ,
185 }, 184 },
186}; 185};
@@ -204,7 +203,7 @@ static struct resource sdhi0_resources[] = {
204 .flags = IORESOURCE_MEM, 203 .flags = IORESOURCE_MEM,
205 }, 204 },
206 [1] = { 205 [1] = {
207 .start = 96, 206 .start = evt2irq(0x0e00), /* SDHI0 */
208 .flags = IORESOURCE_IRQ, 207 .flags = IORESOURCE_IRQ,
209 }, 208 },
210}; 209};
@@ -224,7 +223,7 @@ static struct resource sdhi1_resources[] = {
224 .flags = IORESOURCE_MEM, 223 .flags = IORESOURCE_MEM,
225 }, 224 },
226 [1] = { 225 [1] = {
227 .start = 100, 226 .start = evt2irq(0x0e80), /* SDHI1 */
228 .flags = IORESOURCE_IRQ, 227 .flags = IORESOURCE_IRQ,
229 }, 228 },
230}; 229};