diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-25 11:36:19 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-07 06:10:54 -0400 |
commit | c5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3 (patch) | |
tree | 9750fbbf8e9c57e9cd9a948d8740fc65df93a5e6 /arch/arm/mach-mx2 | |
parent | 12308dfe3776ff5741fc675f2a352165e1628098 (diff) |
mxc: turn to soc specific init_irq functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2')
-rw-r--r-- | arch/arm/mach-mx2/generic.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-mx2/mx21ads.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx2/mx27ads.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx2/mx27lite.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx2/mx27pdk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx2/pcm038.c | 2 |
6 files changed, 15 insertions, 5 deletions
diff --git a/arch/arm/mach-mx2/generic.c b/arch/arm/mach-mx2/generic.c index bdc5a6e67be0..ae8f759134d1 100644 --- a/arch/arm/mach-mx2/generic.c +++ b/arch/arm/mach-mx2/generic.c | |||
@@ -85,3 +85,13 @@ void __init mx27_map_io(void) | |||
85 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); | 85 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); |
86 | } | 86 | } |
87 | 87 | ||
88 | void __init mx27_init_irq(void) | ||
89 | { | ||
90 | mxc_init_irq(IO_ADDRESS(AVIC_BASE_ADDR)); | ||
91 | } | ||
92 | |||
93 | void __init mx21_init_irq(void) | ||
94 | { | ||
95 | mx27_init_irq(); | ||
96 | } | ||
97 | |||
diff --git a/arch/arm/mach-mx2/mx21ads.c b/arch/arm/mach-mx2/mx21ads.c index a5ee461cb405..a525783ceea3 100644 --- a/arch/arm/mach-mx2/mx21ads.c +++ b/arch/arm/mach-mx2/mx21ads.c | |||
@@ -280,7 +280,7 @@ MACHINE_START(MX21ADS, "Freescale i.MX21ADS") | |||
280 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 280 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
281 | .boot_params = PHYS_OFFSET + 0x100, | 281 | .boot_params = PHYS_OFFSET + 0x100, |
282 | .map_io = mx21ads_map_io, | 282 | .map_io = mx21ads_map_io, |
283 | .init_irq = mxc_init_irq, | 283 | .init_irq = mx21_init_irq, |
284 | .init_machine = mx21ads_board_init, | 284 | .init_machine = mx21ads_board_init, |
285 | .timer = &mx21ads_timer, | 285 | .timer = &mx21ads_timer, |
286 | MACHINE_END | 286 | MACHINE_END |
diff --git a/arch/arm/mach-mx2/mx27ads.c b/arch/arm/mach-mx2/mx27ads.c index 02daddac6995..a9f69eb58b7c 100644 --- a/arch/arm/mach-mx2/mx27ads.c +++ b/arch/arm/mach-mx2/mx27ads.c | |||
@@ -330,7 +330,7 @@ MACHINE_START(MX27ADS, "Freescale i.MX27ADS") | |||
330 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 330 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
331 | .boot_params = PHYS_OFFSET + 0x100, | 331 | .boot_params = PHYS_OFFSET + 0x100, |
332 | .map_io = mx27ads_map_io, | 332 | .map_io = mx27ads_map_io, |
333 | .init_irq = mxc_init_irq, | 333 | .init_irq = mx27_init_irq, |
334 | .init_machine = mx27ads_board_init, | 334 | .init_machine = mx27ads_board_init, |
335 | .timer = &mx27ads_timer, | 335 | .timer = &mx27ads_timer, |
336 | MACHINE_END | 336 | MACHINE_END |
diff --git a/arch/arm/mach-mx2/mx27lite.c b/arch/arm/mach-mx2/mx27lite.c index 3ae11cb8c04b..82ea227ea0cf 100644 --- a/arch/arm/mach-mx2/mx27lite.c +++ b/arch/arm/mach-mx2/mx27lite.c | |||
@@ -89,7 +89,7 @@ MACHINE_START(IMX27LITE, "LogicPD i.MX27LITE") | |||
89 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 89 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
90 | .boot_params = PHYS_OFFSET + 0x100, | 90 | .boot_params = PHYS_OFFSET + 0x100, |
91 | .map_io = mx27_map_io, | 91 | .map_io = mx27_map_io, |
92 | .init_irq = mxc_init_irq, | 92 | .init_irq = mx27_init_irq, |
93 | .init_machine = mx27lite_init, | 93 | .init_machine = mx27lite_init, |
94 | .timer = &mx27lite_timer, | 94 | .timer = &mx27lite_timer, |
95 | MACHINE_END | 95 | MACHINE_END |
diff --git a/arch/arm/mach-mx2/mx27pdk.c b/arch/arm/mach-mx2/mx27pdk.c index 1d9238c7a6c3..6761d1b79e43 100644 --- a/arch/arm/mach-mx2/mx27pdk.c +++ b/arch/arm/mach-mx2/mx27pdk.c | |||
@@ -89,7 +89,7 @@ MACHINE_START(MX27_3DS, "Freescale MX27PDK") | |||
89 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 89 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
90 | .boot_params = PHYS_OFFSET + 0x100, | 90 | .boot_params = PHYS_OFFSET + 0x100, |
91 | .map_io = mx27_map_io, | 91 | .map_io = mx27_map_io, |
92 | .init_irq = mxc_init_irq, | 92 | .init_irq = mx27_init_irq, |
93 | .init_machine = mx27pdk_init, | 93 | .init_machine = mx27pdk_init, |
94 | .timer = &mx27pdk_timer, | 94 | .timer = &mx27pdk_timer, |
95 | MACHINE_END | 95 | MACHINE_END |
diff --git a/arch/arm/mach-mx2/pcm038.c b/arch/arm/mach-mx2/pcm038.c index a4628d004343..638d078304c7 100644 --- a/arch/arm/mach-mx2/pcm038.c +++ b/arch/arm/mach-mx2/pcm038.c | |||
@@ -241,7 +241,7 @@ MACHINE_START(PCM038, "phyCORE-i.MX27") | |||
241 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 241 | .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
242 | .boot_params = PHYS_OFFSET + 0x100, | 242 | .boot_params = PHYS_OFFSET + 0x100, |
243 | .map_io = mx27_map_io, | 243 | .map_io = mx27_map_io, |
244 | .init_irq = mxc_init_irq, | 244 | .init_irq = mx27_init_irq, |
245 | .init_machine = pcm038_init, | 245 | .init_machine = pcm038_init, |
246 | .timer = &pcm038_timer, | 246 | .timer = &pcm038_timer, |
247 | MACHINE_END | 247 | MACHINE_END |