diff options
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r-- | arch/arm/mach-mx3/armadillo5x0.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mm.c | 10 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31ads.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31lilly.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31lite.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31pdk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx35pdk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/pcm037.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/pcm043.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/qong.c | 2 |
11 files changed, 21 insertions, 10 deletions
diff --git a/arch/arm/mach-mx3/armadillo5x0.c b/arch/arm/mach-mx3/armadillo5x0.c index ee331fd6b1bd..776c0ee1b3cd 100644 --- a/arch/arm/mach-mx3/armadillo5x0.c +++ b/arch/arm/mach-mx3/armadillo5x0.c | |||
@@ -352,7 +352,7 @@ MACHINE_START(ARMADILLO5X0, "Armadillo-500") | |||
352 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 352 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
353 | .boot_params = PHYS_OFFSET + 0x00000100, | 353 | .boot_params = PHYS_OFFSET + 0x00000100, |
354 | .map_io = mx31_map_io, | 354 | .map_io = mx31_map_io, |
355 | .init_irq = mxc_init_irq, | 355 | .init_irq = mx31_init_irq, |
356 | .timer = &armadillo5x0_timer, | 356 | .timer = &armadillo5x0_timer, |
357 | .init_machine = armadillo5x0_init, | 357 | .init_machine = armadillo5x0_init, |
358 | MACHINE_END | 358 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/mm.c b/arch/arm/mach-mx3/mm.c index f0d5ae533b49..c327172159c0 100644 --- a/arch/arm/mach-mx3/mm.c +++ b/arch/arm/mach-mx3/mm.c | |||
@@ -88,6 +88,16 @@ void __init mx35_map_io(void) | |||
88 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); | 88 | iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc)); |
89 | } | 89 | } |
90 | 90 | ||
91 | void __init mx31_init_irq(void) | ||
92 | { | ||
93 | mxc_init_irq(IO_ADDRESS(AVIC_BASE_ADDR)); | ||
94 | } | ||
95 | |||
96 | void __init mx35_init_irq(void) | ||
97 | { | ||
98 | mx31_init_irq(); | ||
99 | } | ||
100 | |||
91 | #ifdef CONFIG_CACHE_L2X0 | 101 | #ifdef CONFIG_CACHE_L2X0 |
92 | static int mxc_init_l2x0(void) | 102 | static int mxc_init_l2x0(void) |
93 | { | 103 | { |
diff --git a/arch/arm/mach-mx3/mx31ads.c b/arch/arm/mach-mx3/mx31ads.c index 30e2767a78ae..0497c152be18 100644 --- a/arch/arm/mach-mx3/mx31ads.c +++ b/arch/arm/mach-mx3/mx31ads.c | |||
@@ -517,7 +517,7 @@ static void __init mx31ads_map_io(void) | |||
517 | 517 | ||
518 | static void __init mx31ads_init_irq(void) | 518 | static void __init mx31ads_init_irq(void) |
519 | { | 519 | { |
520 | mxc_init_irq(); | 520 | mx31_init_irq(); |
521 | mx31ads_init_expio(); | 521 | mx31ads_init_expio(); |
522 | } | 522 | } |
523 | 523 | ||
diff --git a/arch/arm/mach-mx3/mx31lilly.c b/arch/arm/mach-mx3/mx31lilly.c index 6ab2f163cb95..423025150f6f 100644 --- a/arch/arm/mach-mx3/mx31lilly.c +++ b/arch/arm/mach-mx3/mx31lilly.c | |||
@@ -148,7 +148,7 @@ MACHINE_START(LILLY1131, "INCO startec LILLY-1131") | |||
148 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 148 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
149 | .boot_params = PHYS_OFFSET + 0x100, | 149 | .boot_params = PHYS_OFFSET + 0x100, |
150 | .map_io = mx31_map_io, | 150 | .map_io = mx31_map_io, |
151 | .init_irq = mxc_init_irq, | 151 | .init_irq = mx31_init_irq, |
152 | .init_machine = mx31lilly_board_init, | 152 | .init_machine = mx31lilly_board_init, |
153 | .timer = &mx31lilly_timer, | 153 | .timer = &mx31lilly_timer, |
154 | MACHINE_END | 154 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/mx31lite.c b/arch/arm/mach-mx3/mx31lite.c index 86fe70fa3e13..b1c0afc40cf2 100644 --- a/arch/arm/mach-mx3/mx31lite.c +++ b/arch/arm/mach-mx3/mx31lite.c | |||
@@ -162,7 +162,7 @@ MACHINE_START(MX31LITE, "LogicPD MX31 LITEKIT") | |||
162 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 162 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
163 | .boot_params = PHYS_OFFSET + 0x100, | 163 | .boot_params = PHYS_OFFSET + 0x100, |
164 | .map_io = mx31lite_map_io, | 164 | .map_io = mx31lite_map_io, |
165 | .init_irq = mxc_init_irq, | 165 | .init_irq = mx31_init_irq, |
166 | .init_machine = mxc_board_init, | 166 | .init_machine = mxc_board_init, |
167 | .timer = &mx31lite_timer, | 167 | .timer = &mx31lite_timer, |
168 | MACHINE_END | 168 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/mx31moboard.c b/arch/arm/mach-mx3/mx31moboard.c index a17f2e411609..b86b8a757c99 100644 --- a/arch/arm/mach-mx3/mx31moboard.c +++ b/arch/arm/mach-mx3/mx31moboard.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <mach/iomux-mx3.h> | 36 | #include <mach/iomux-mx3.h> |
37 | #include <mach/i2c.h> | 37 | #include <mach/i2c.h> |
38 | #include <mach/mmc.h> | 38 | #include <mach/mmc.h> |
39 | #include <mach/mx31.h> | ||
39 | 40 | ||
40 | #include "devices.h" | 41 | #include "devices.h" |
41 | 42 | ||
@@ -197,7 +198,7 @@ MACHINE_START(MX31MOBOARD, "EPFL Mobots mx31moboard") | |||
197 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 198 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
198 | .boot_params = PHYS_OFFSET + 0x100, | 199 | .boot_params = PHYS_OFFSET + 0x100, |
199 | .map_io = mx31_map_io, | 200 | .map_io = mx31_map_io, |
200 | .init_irq = mxc_init_irq, | 201 | .init_irq = mx31_init_irq, |
201 | .init_machine = mxc_board_init, | 202 | .init_machine = mxc_board_init, |
202 | .timer = &mx31moboard_timer, | 203 | .timer = &mx31moboard_timer, |
203 | MACHINE_END | 204 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/mx31pdk.c b/arch/arm/mach-mx3/mx31pdk.c index c19838d2e369..0f7a2f06bc2d 100644 --- a/arch/arm/mach-mx3/mx31pdk.c +++ b/arch/arm/mach-mx3/mx31pdk.c | |||
@@ -265,7 +265,7 @@ MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)") | |||
265 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 265 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
266 | .boot_params = PHYS_OFFSET + 0x100, | 266 | .boot_params = PHYS_OFFSET + 0x100, |
267 | .map_io = mx31pdk_map_io, | 267 | .map_io = mx31pdk_map_io, |
268 | .init_irq = mxc_init_irq, | 268 | .init_irq = mx31_init_irq, |
269 | .init_machine = mxc_board_init, | 269 | .init_machine = mxc_board_init, |
270 | .timer = &mx31pdk_timer, | 270 | .timer = &mx31pdk_timer, |
271 | MACHINE_END | 271 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/mx35pdk.c b/arch/arm/mach-mx3/mx35pdk.c index 6d15374414b9..6ff186e46ceb 100644 --- a/arch/arm/mach-mx3/mx35pdk.c +++ b/arch/arm/mach-mx3/mx35pdk.c | |||
@@ -98,7 +98,7 @@ MACHINE_START(MX35_3DS, "Freescale MX35PDK") | |||
98 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 98 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
99 | .boot_params = PHYS_OFFSET + 0x100, | 99 | .boot_params = PHYS_OFFSET + 0x100, |
100 | .map_io = mx35_map_io, | 100 | .map_io = mx35_map_io, |
101 | .init_irq = mxc_init_irq, | 101 | .init_irq = mx35_init_irq, |
102 | .init_machine = mxc_board_init, | 102 | .init_machine = mxc_board_init, |
103 | .timer = &mx35pdk_timer, | 103 | .timer = &mx35pdk_timer, |
104 | MACHINE_END | 104 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/pcm037.c b/arch/arm/mach-mx3/pcm037.c index 840cfda341d0..d8472206de90 100644 --- a/arch/arm/mach-mx3/pcm037.c +++ b/arch/arm/mach-mx3/pcm037.c | |||
@@ -592,7 +592,7 @@ MACHINE_START(PCM037, "Phytec Phycore pcm037") | |||
592 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 592 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
593 | .boot_params = PHYS_OFFSET + 0x100, | 593 | .boot_params = PHYS_OFFSET + 0x100, |
594 | .map_io = mx31_map_io, | 594 | .map_io = mx31_map_io, |
595 | .init_irq = mxc_init_irq, | 595 | .init_irq = mx31_init_irq, |
596 | .init_machine = mxc_board_init, | 596 | .init_machine = mxc_board_init, |
597 | .timer = &pcm037_timer, | 597 | .timer = &pcm037_timer, |
598 | MACHINE_END | 598 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/pcm043.c b/arch/arm/mach-mx3/pcm043.c index 8d27c324abf2..7c7d3cc07b89 100644 --- a/arch/arm/mach-mx3/pcm043.c +++ b/arch/arm/mach-mx3/pcm043.c | |||
@@ -245,7 +245,7 @@ MACHINE_START(PCM043, "Phytec Phycore pcm043") | |||
245 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 245 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
246 | .boot_params = PHYS_OFFSET + 0x100, | 246 | .boot_params = PHYS_OFFSET + 0x100, |
247 | .map_io = mx35_map_io, | 247 | .map_io = mx35_map_io, |
248 | .init_irq = mxc_init_irq, | 248 | .init_irq = mx35_init_irq, |
249 | .init_machine = mxc_board_init, | 249 | .init_machine = mxc_board_init, |
250 | .timer = &pcm043_timer, | 250 | .timer = &pcm043_timer, |
251 | MACHINE_END | 251 | MACHINE_END |
diff --git a/arch/arm/mach-mx3/qong.c b/arch/arm/mach-mx3/qong.c index 82b31c4ab11f..0bca4d914abc 100644 --- a/arch/arm/mach-mx3/qong.c +++ b/arch/arm/mach-mx3/qong.c | |||
@@ -280,7 +280,7 @@ MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") | |||
280 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 280 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
281 | .boot_params = PHYS_OFFSET + 0x100, | 281 | .boot_params = PHYS_OFFSET + 0x100, |
282 | .map_io = mx31_map_io, | 282 | .map_io = mx31_map_io, |
283 | .init_irq = mxc_init_irq, | 283 | .init_irq = mx31_init_irq, |
284 | .init_machine = mxc_board_init, | 284 | .init_machine = mxc_board_init, |
285 | .timer = &qong_timer, | 285 | .timer = &qong_timer, |
286 | MACHINE_END | 286 | MACHINE_END |