diff options
Diffstat (limited to 'arch/arm/mach-imx')
39 files changed, 55 insertions, 221 deletions
diff --git a/arch/arm/mach-imx/imx25-dt.c b/arch/arm/mach-imx/imx25-dt.c index e17dfbc42192..03b65e5ea541 100644 --- a/arch/arm/mach-imx/imx25-dt.c +++ b/arch/arm/mach-imx/imx25-dt.c | |||
@@ -22,15 +22,6 @@ static void __init imx25_dt_init(void) | |||
22 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 22 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
23 | } | 23 | } |
24 | 24 | ||
25 | static void __init imx25_timer_init(void) | ||
26 | { | ||
27 | mx25_clocks_init_dt(); | ||
28 | } | ||
29 | |||
30 | static struct sys_timer imx25_timer = { | ||
31 | .init = imx25_timer_init, | ||
32 | }; | ||
33 | |||
34 | static const char * const imx25_dt_board_compat[] __initconst = { | 25 | static const char * const imx25_dt_board_compat[] __initconst = { |
35 | "fsl,imx25", | 26 | "fsl,imx25", |
36 | NULL | 27 | NULL |
@@ -41,7 +32,7 @@ DT_MACHINE_START(IMX25_DT, "Freescale i.MX25 (Device Tree Support)") | |||
41 | .init_early = imx25_init_early, | 32 | .init_early = imx25_init_early, |
42 | .init_irq = mx25_init_irq, | 33 | .init_irq = mx25_init_irq, |
43 | .handle_irq = imx25_handle_irq, | 34 | .handle_irq = imx25_handle_irq, |
44 | .timer = &imx25_timer, | 35 | .init_time = imx25_timer_init, |
45 | .init_machine = imx25_dt_init, | 36 | .init_machine = imx25_dt_init, |
46 | .dt_compat = imx25_dt_board_compat, | 37 | .dt_compat = imx25_dt_board_compat, |
47 | .restart = mxc_restart, | 38 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c index ebfae96543c4..c915a490a11c 100644 --- a/arch/arm/mach-imx/imx27-dt.c +++ b/arch/arm/mach-imx/imx27-dt.c | |||
@@ -39,26 +39,22 @@ static void __init imx27_dt_init(void) | |||
39 | imx27_auxdata_lookup, NULL); | 39 | imx27_auxdata_lookup, NULL); |
40 | } | 40 | } |
41 | 41 | ||
42 | static void __init imx27_timer_init(void) | ||
43 | { | ||
44 | mx27_clocks_init_dt(); | ||
45 | } | ||
46 | |||
47 | static struct sys_timer imx27_timer = { | ||
48 | .init = imx27_timer_init, | ||
49 | }; | ||
50 | |||
51 | static const char * const imx27_dt_board_compat[] __initconst = { | 42 | static const char * const imx27_dt_board_compat[] __initconst = { |
52 | "fsl,imx27", | 43 | "fsl,imx27", |
53 | NULL | 44 | NULL |
54 | }; | 45 | }; |
55 | 46 | ||
47 | static void __init imx27_timer_init(void) | ||
48 | { | ||
49 | mx27_clocks_init_dt(); | ||
50 | } | ||
51 | |||
56 | DT_MACHINE_START(IMX27_DT, "Freescale i.MX27 (Device Tree Support)") | 52 | DT_MACHINE_START(IMX27_DT, "Freescale i.MX27 (Device Tree Support)") |
57 | .map_io = mx27_map_io, | 53 | .map_io = mx27_map_io, |
58 | .init_early = imx27_init_early, | 54 | .init_early = imx27_init_early, |
59 | .init_irq = mx27_init_irq, | 55 | .init_irq = mx27_init_irq, |
60 | .handle_irq = imx27_handle_irq, | 56 | .handle_irq = imx27_handle_irq, |
61 | .timer = &imx27_timer, | 57 | .init_time = imx27_timer_init, |
62 | .init_machine = imx27_dt_init, | 58 | .init_machine = imx27_dt_init, |
63 | .dt_compat = imx27_dt_board_compat, | 59 | .dt_compat = imx27_dt_board_compat, |
64 | .restart = mxc_restart, | 60 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/imx31-dt.c b/arch/arm/mach-imx/imx31-dt.c index af476de2570e..f9a690960097 100644 --- a/arch/arm/mach-imx/imx31-dt.c +++ b/arch/arm/mach-imx/imx31-dt.c | |||
@@ -38,15 +38,6 @@ static void __init imx31_dt_init(void) | |||
38 | imx31_auxdata_lookup, NULL); | 38 | imx31_auxdata_lookup, NULL); |
39 | } | 39 | } |
40 | 40 | ||
41 | static void __init imx31_timer_init(void) | ||
42 | { | ||
43 | mx31_clocks_init_dt(); | ||
44 | } | ||
45 | |||
46 | static struct sys_timer imx31_timer = { | ||
47 | .init = imx31_timer_init, | ||
48 | }; | ||
49 | |||
50 | static const char *imx31_dt_board_compat[] __initdata = { | 41 | static const char *imx31_dt_board_compat[] __initdata = { |
51 | "fsl,imx31", | 42 | "fsl,imx31", |
52 | NULL | 43 | NULL |
@@ -57,7 +48,7 @@ DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)") | |||
57 | .init_early = imx31_init_early, | 48 | .init_early = imx31_init_early, |
58 | .init_irq = mx31_init_irq, | 49 | .init_irq = mx31_init_irq, |
59 | .handle_irq = imx31_handle_irq, | 50 | .handle_irq = imx31_handle_irq, |
60 | .timer = &imx31_timer, | 51 | .init_time = mx31_clocks_init_dt, |
61 | .init_machine = imx31_dt_init, | 52 | .init_machine = imx31_dt_init, |
62 | .dt_compat = imx31_dt_board_compat, | 53 | .dt_compat = imx31_dt_board_compat, |
63 | .restart = mxc_restart, | 54 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c index 5ffa40c673f8..e2926a8863f8 100644 --- a/arch/arm/mach-imx/imx51-dt.c +++ b/arch/arm/mach-imx/imx51-dt.c | |||
@@ -24,26 +24,22 @@ static void __init imx51_dt_init(void) | |||
24 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 24 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
25 | } | 25 | } |
26 | 26 | ||
27 | static void __init imx51_timer_init(void) | ||
28 | { | ||
29 | mx51_clocks_init_dt(); | ||
30 | } | ||
31 | |||
32 | static struct sys_timer imx51_timer = { | ||
33 | .init = imx51_timer_init, | ||
34 | }; | ||
35 | |||
36 | static const char *imx51_dt_board_compat[] __initdata = { | 27 | static const char *imx51_dt_board_compat[] __initdata = { |
37 | "fsl,imx51", | 28 | "fsl,imx51", |
38 | NULL | 29 | NULL |
39 | }; | 30 | }; |
40 | 31 | ||
32 | static void __init imx51_timer_init(void) | ||
33 | { | ||
34 | mx51_clocks_init_dt(); | ||
35 | } | ||
36 | |||
41 | DT_MACHINE_START(IMX51_DT, "Freescale i.MX51 (Device Tree Support)") | 37 | DT_MACHINE_START(IMX51_DT, "Freescale i.MX51 (Device Tree Support)") |
42 | .map_io = mx51_map_io, | 38 | .map_io = mx51_map_io, |
43 | .init_early = imx51_init_early, | 39 | .init_early = imx51_init_early, |
44 | .init_irq = mx51_init_irq, | 40 | .init_irq = mx51_init_irq, |
45 | .handle_irq = imx51_handle_irq, | 41 | .handle_irq = imx51_handle_irq, |
46 | .timer = &imx51_timer, | 42 | .init_time = imx51_timer_init, |
47 | .init_machine = imx51_dt_init, | 43 | .init_machine = imx51_dt_init, |
48 | .init_late = imx51_init_late, | 44 | .init_late = imx51_init_late, |
49 | .dt_compat = imx51_dt_board_compat, | 45 | .dt_compat = imx51_dt_board_compat, |
diff --git a/arch/arm/mach-imx/mach-apf9328.c b/arch/arm/mach-imx/mach-apf9328.c index 5c9bd2c66e6d..067580b2969b 100644 --- a/arch/arm/mach-imx/mach-apf9328.c +++ b/arch/arm/mach-imx/mach-apf9328.c | |||
@@ -137,17 +137,13 @@ static void __init apf9328_timer_init(void) | |||
137 | mx1_clocks_init(32768); | 137 | mx1_clocks_init(32768); |
138 | } | 138 | } |
139 | 139 | ||
140 | static struct sys_timer apf9328_timer = { | ||
141 | .init = apf9328_timer_init, | ||
142 | }; | ||
143 | |||
144 | MACHINE_START(APF9328, "Armadeus APF9328") | 140 | MACHINE_START(APF9328, "Armadeus APF9328") |
145 | /* Maintainer: Gwenhael Goavec-Merou, ARMadeus Systems */ | 141 | /* Maintainer: Gwenhael Goavec-Merou, ARMadeus Systems */ |
146 | .map_io = mx1_map_io, | 142 | .map_io = mx1_map_io, |
147 | .init_early = imx1_init_early, | 143 | .init_early = imx1_init_early, |
148 | .init_irq = mx1_init_irq, | 144 | .init_irq = mx1_init_irq, |
149 | .handle_irq = imx1_handle_irq, | 145 | .handle_irq = imx1_handle_irq, |
150 | .timer = &apf9328_timer, | 146 | .init_time = apf9328_timer_init, |
151 | .init_machine = apf9328_init, | 147 | .init_machine = apf9328_init, |
152 | .restart = mxc_restart, | 148 | .restart = mxc_restart, |
153 | MACHINE_END | 149 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-armadillo5x0.c b/arch/arm/mach-imx/mach-armadillo5x0.c index 59bd6b06a6b5..368a6e3f5926 100644 --- a/arch/arm/mach-imx/mach-armadillo5x0.c +++ b/arch/arm/mach-imx/mach-armadillo5x0.c | |||
@@ -557,10 +557,6 @@ static void __init armadillo5x0_timer_init(void) | |||
557 | mx31_clocks_init(26000000); | 557 | mx31_clocks_init(26000000); |
558 | } | 558 | } |
559 | 559 | ||
560 | static struct sys_timer armadillo5x0_timer = { | ||
561 | .init = armadillo5x0_timer_init, | ||
562 | }; | ||
563 | |||
564 | MACHINE_START(ARMADILLO5X0, "Armadillo-500") | 560 | MACHINE_START(ARMADILLO5X0, "Armadillo-500") |
565 | /* Maintainer: Alberto Panizzo */ | 561 | /* Maintainer: Alberto Panizzo */ |
566 | .atag_offset = 0x100, | 562 | .atag_offset = 0x100, |
@@ -568,7 +564,7 @@ MACHINE_START(ARMADILLO5X0, "Armadillo-500") | |||
568 | .init_early = imx31_init_early, | 564 | .init_early = imx31_init_early, |
569 | .init_irq = mx31_init_irq, | 565 | .init_irq = mx31_init_irq, |
570 | .handle_irq = imx31_handle_irq, | 566 | .handle_irq = imx31_handle_irq, |
571 | .timer = &armadillo5x0_timer, | 567 | .init_time = armadillo5x0_timer_init, |
572 | .init_machine = armadillo5x0_init, | 568 | .init_machine = armadillo5x0_init, |
573 | .restart = mxc_restart, | 569 | .restart = mxc_restart, |
574 | MACHINE_END | 570 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-bug.c b/arch/arm/mach-imx/mach-bug.c index 3a39d5aec07a..2d00476f7d2c 100644 --- a/arch/arm/mach-imx/mach-bug.c +++ b/arch/arm/mach-imx/mach-bug.c | |||
@@ -53,16 +53,12 @@ static void __init bug_timer_init(void) | |||
53 | mx31_clocks_init(26000000); | 53 | mx31_clocks_init(26000000); |
54 | } | 54 | } |
55 | 55 | ||
56 | static struct sys_timer bug_timer = { | ||
57 | .init = bug_timer_init, | ||
58 | }; | ||
59 | |||
60 | MACHINE_START(BUG, "BugLabs BUGBase") | 56 | MACHINE_START(BUG, "BugLabs BUGBase") |
61 | .map_io = mx31_map_io, | 57 | .map_io = mx31_map_io, |
62 | .init_early = imx31_init_early, | 58 | .init_early = imx31_init_early, |
63 | .init_irq = mx31_init_irq, | 59 | .init_irq = mx31_init_irq, |
64 | .handle_irq = imx31_handle_irq, | 60 | .handle_irq = imx31_handle_irq, |
65 | .timer = &bug_timer, | 61 | .init_time = bug_timer_init, |
66 | .init_machine = bug_board_init, | 62 | .init_machine = bug_board_init, |
67 | .restart = mxc_restart, | 63 | .restart = mxc_restart, |
68 | MACHINE_END | 64 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-cpuimx27.c b/arch/arm/mach-imx/mach-cpuimx27.c index 12a370646b45..146559311bd2 100644 --- a/arch/arm/mach-imx/mach-cpuimx27.c +++ b/arch/arm/mach-imx/mach-cpuimx27.c | |||
@@ -309,17 +309,13 @@ static void __init eukrea_cpuimx27_timer_init(void) | |||
309 | mx27_clocks_init(26000000); | 309 | mx27_clocks_init(26000000); |
310 | } | 310 | } |
311 | 311 | ||
312 | static struct sys_timer eukrea_cpuimx27_timer = { | ||
313 | .init = eukrea_cpuimx27_timer_init, | ||
314 | }; | ||
315 | |||
316 | MACHINE_START(EUKREA_CPUIMX27, "EUKREA CPUIMX27") | 312 | MACHINE_START(EUKREA_CPUIMX27, "EUKREA CPUIMX27") |
317 | .atag_offset = 0x100, | 313 | .atag_offset = 0x100, |
318 | .map_io = mx27_map_io, | 314 | .map_io = mx27_map_io, |
319 | .init_early = imx27_init_early, | 315 | .init_early = imx27_init_early, |
320 | .init_irq = mx27_init_irq, | 316 | .init_irq = mx27_init_irq, |
321 | .handle_irq = imx27_handle_irq, | 317 | .handle_irq = imx27_handle_irq, |
322 | .timer = &eukrea_cpuimx27_timer, | 318 | .init_time = eukrea_cpuimx27_timer_init, |
323 | .init_machine = eukrea_cpuimx27_init, | 319 | .init_machine = eukrea_cpuimx27_init, |
324 | .restart = mxc_restart, | 320 | .restart = mxc_restart, |
325 | MACHINE_END | 321 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-cpuimx35.c b/arch/arm/mach-imx/mach-cpuimx35.c index 5a31bf8c8f4c..771362d1fbee 100644 --- a/arch/arm/mach-imx/mach-cpuimx35.c +++ b/arch/arm/mach-imx/mach-cpuimx35.c | |||
@@ -193,10 +193,6 @@ static void __init eukrea_cpuimx35_timer_init(void) | |||
193 | mx35_clocks_init(); | 193 | mx35_clocks_init(); |
194 | } | 194 | } |
195 | 195 | ||
196 | static struct sys_timer eukrea_cpuimx35_timer = { | ||
197 | .init = eukrea_cpuimx35_timer_init, | ||
198 | }; | ||
199 | |||
200 | MACHINE_START(EUKREA_CPUIMX35SD, "Eukrea CPUIMX35") | 196 | MACHINE_START(EUKREA_CPUIMX35SD, "Eukrea CPUIMX35") |
201 | /* Maintainer: Eukrea Electromatique */ | 197 | /* Maintainer: Eukrea Electromatique */ |
202 | .atag_offset = 0x100, | 198 | .atag_offset = 0x100, |
@@ -204,7 +200,7 @@ MACHINE_START(EUKREA_CPUIMX35SD, "Eukrea CPUIMX35") | |||
204 | .init_early = imx35_init_early, | 200 | .init_early = imx35_init_early, |
205 | .init_irq = mx35_init_irq, | 201 | .init_irq = mx35_init_irq, |
206 | .handle_irq = imx35_handle_irq, | 202 | .handle_irq = imx35_handle_irq, |
207 | .timer = &eukrea_cpuimx35_timer, | 203 | .init_time = eukrea_cpuimx35_timer_init, |
208 | .init_machine = eukrea_cpuimx35_init, | 204 | .init_machine = eukrea_cpuimx35_init, |
209 | .restart = mxc_restart, | 205 | .restart = mxc_restart, |
210 | MACHINE_END | 206 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-cpuimx51sd.c b/arch/arm/mach-imx/mach-cpuimx51sd.c index b727de029c8f..9b7393234f6f 100644 --- a/arch/arm/mach-imx/mach-cpuimx51sd.c +++ b/arch/arm/mach-imx/mach-cpuimx51sd.c | |||
@@ -355,10 +355,6 @@ static void __init eukrea_cpuimx51sd_timer_init(void) | |||
355 | mx51_clocks_init(32768, 24000000, 22579200, 0); | 355 | mx51_clocks_init(32768, 24000000, 22579200, 0); |
356 | } | 356 | } |
357 | 357 | ||
358 | static struct sys_timer mxc_timer = { | ||
359 | .init = eukrea_cpuimx51sd_timer_init, | ||
360 | }; | ||
361 | |||
362 | MACHINE_START(EUKREA_CPUIMX51SD, "Eukrea CPUIMX51SD") | 358 | MACHINE_START(EUKREA_CPUIMX51SD, "Eukrea CPUIMX51SD") |
363 | /* Maintainer: Eric Bénard <eric@eukrea.com> */ | 359 | /* Maintainer: Eric Bénard <eric@eukrea.com> */ |
364 | .atag_offset = 0x100, | 360 | .atag_offset = 0x100, |
@@ -366,7 +362,7 @@ MACHINE_START(EUKREA_CPUIMX51SD, "Eukrea CPUIMX51SD") | |||
366 | .init_early = imx51_init_early, | 362 | .init_early = imx51_init_early, |
367 | .init_irq = mx51_init_irq, | 363 | .init_irq = mx51_init_irq, |
368 | .handle_irq = imx51_handle_irq, | 364 | .handle_irq = imx51_handle_irq, |
369 | .timer = &mxc_timer, | 365 | .init_time = eukrea_cpuimx51sd_timer_init, |
370 | .init_machine = eukrea_cpuimx51sd_init, | 366 | .init_machine = eukrea_cpuimx51sd_init, |
371 | .init_late = imx51_init_late, | 367 | .init_late = imx51_init_late, |
372 | .restart = mxc_restart, | 368 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c index 75027a5ad8b7..4bf454424249 100644 --- a/arch/arm/mach-imx/mach-eukrea_cpuimx25.c +++ b/arch/arm/mach-imx/mach-eukrea_cpuimx25.c | |||
@@ -159,10 +159,6 @@ static void __init eukrea_cpuimx25_timer_init(void) | |||
159 | mx25_clocks_init(); | 159 | mx25_clocks_init(); |
160 | } | 160 | } |
161 | 161 | ||
162 | static struct sys_timer eukrea_cpuimx25_timer = { | ||
163 | .init = eukrea_cpuimx25_timer_init, | ||
164 | }; | ||
165 | |||
166 | MACHINE_START(EUKREA_CPUIMX25SD, "Eukrea CPUIMX25") | 162 | MACHINE_START(EUKREA_CPUIMX25SD, "Eukrea CPUIMX25") |
167 | /* Maintainer: Eukrea Electromatique */ | 163 | /* Maintainer: Eukrea Electromatique */ |
168 | .atag_offset = 0x100, | 164 | .atag_offset = 0x100, |
@@ -170,7 +166,7 @@ MACHINE_START(EUKREA_CPUIMX25SD, "Eukrea CPUIMX25") | |||
170 | .init_early = imx25_init_early, | 166 | .init_early = imx25_init_early, |
171 | .init_irq = mx25_init_irq, | 167 | .init_irq = mx25_init_irq, |
172 | .handle_irq = imx25_handle_irq, | 168 | .handle_irq = imx25_handle_irq, |
173 | .timer = &eukrea_cpuimx25_timer, | 169 | .init_time = eukrea_cpuimx25_timer_init, |
174 | .init_machine = eukrea_cpuimx25_init, | 170 | .init_machine = eukrea_cpuimx25_init, |
175 | .restart = mxc_restart, | 171 | .restart = mxc_restart, |
176 | MACHINE_END | 172 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c index 318bd8df7fcc..29ac8ee651d2 100644 --- a/arch/arm/mach-imx/mach-imx27_visstrim_m10.c +++ b/arch/arm/mach-imx/mach-imx27_visstrim_m10.c | |||
@@ -598,10 +598,6 @@ static void __init visstrim_m10_timer_init(void) | |||
598 | mx27_clocks_init((unsigned long)25000000); | 598 | mx27_clocks_init((unsigned long)25000000); |
599 | } | 599 | } |
600 | 600 | ||
601 | static struct sys_timer visstrim_m10_timer = { | ||
602 | .init = visstrim_m10_timer_init, | ||
603 | }; | ||
604 | |||
605 | MACHINE_START(IMX27_VISSTRIM_M10, "Vista Silicon Visstrim_M10") | 601 | MACHINE_START(IMX27_VISSTRIM_M10, "Vista Silicon Visstrim_M10") |
606 | .atag_offset = 0x100, | 602 | .atag_offset = 0x100, |
607 | .reserve = visstrim_reserve, | 603 | .reserve = visstrim_reserve, |
@@ -609,7 +605,7 @@ MACHINE_START(IMX27_VISSTRIM_M10, "Vista Silicon Visstrim_M10") | |||
609 | .init_early = imx27_init_early, | 605 | .init_early = imx27_init_early, |
610 | .init_irq = mx27_init_irq, | 606 | .init_irq = mx27_init_irq, |
611 | .handle_irq = imx27_handle_irq, | 607 | .handle_irq = imx27_handle_irq, |
612 | .timer = &visstrim_m10_timer, | 608 | .init_time = visstrim_m10_timer_init, |
613 | .init_machine = visstrim_m10_board_init, | 609 | .init_machine = visstrim_m10_board_init, |
614 | .restart = mxc_restart, | 610 | .restart = mxc_restart, |
615 | MACHINE_END | 611 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-imx27ipcam.c b/arch/arm/mach-imx/mach-imx27ipcam.c index 53a860112938..1a851aea6832 100644 --- a/arch/arm/mach-imx/mach-imx27ipcam.c +++ b/arch/arm/mach-imx/mach-imx27ipcam.c | |||
@@ -65,10 +65,6 @@ static void __init mx27ipcam_timer_init(void) | |||
65 | mx27_clocks_init(25000000); | 65 | mx27_clocks_init(25000000); |
66 | } | 66 | } |
67 | 67 | ||
68 | static struct sys_timer mx27ipcam_timer = { | ||
69 | .init = mx27ipcam_timer_init, | ||
70 | }; | ||
71 | |||
72 | MACHINE_START(IMX27IPCAM, "Freescale IMX27IPCAM") | 68 | MACHINE_START(IMX27IPCAM, "Freescale IMX27IPCAM") |
73 | /* maintainer: Freescale Semiconductor, Inc. */ | 69 | /* maintainer: Freescale Semiconductor, Inc. */ |
74 | .atag_offset = 0x100, | 70 | .atag_offset = 0x100, |
@@ -76,7 +72,7 @@ MACHINE_START(IMX27IPCAM, "Freescale IMX27IPCAM") | |||
76 | .init_early = imx27_init_early, | 72 | .init_early = imx27_init_early, |
77 | .init_irq = mx27_init_irq, | 73 | .init_irq = mx27_init_irq, |
78 | .handle_irq = imx27_handle_irq, | 74 | .handle_irq = imx27_handle_irq, |
79 | .timer = &mx27ipcam_timer, | 75 | .init_time = mx27ipcam_timer_init, |
80 | .init_machine = mx27ipcam_init, | 76 | .init_machine = mx27ipcam_init, |
81 | .restart = mxc_restart, | 77 | .restart = mxc_restart, |
82 | MACHINE_END | 78 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-imx27lite.c b/arch/arm/mach-imx/mach-imx27lite.c index fc8dce931378..3da2e3e44ce9 100644 --- a/arch/arm/mach-imx/mach-imx27lite.c +++ b/arch/arm/mach-imx/mach-imx27lite.c | |||
@@ -72,17 +72,13 @@ static void __init mx27lite_timer_init(void) | |||
72 | mx27_clocks_init(26000000); | 72 | mx27_clocks_init(26000000); |
73 | } | 73 | } |
74 | 74 | ||
75 | static struct sys_timer mx27lite_timer = { | ||
76 | .init = mx27lite_timer_init, | ||
77 | }; | ||
78 | |||
79 | MACHINE_START(IMX27LITE, "LogicPD i.MX27LITE") | 75 | MACHINE_START(IMX27LITE, "LogicPD i.MX27LITE") |
80 | .atag_offset = 0x100, | 76 | .atag_offset = 0x100, |
81 | .map_io = mx27_map_io, | 77 | .map_io = mx27_map_io, |
82 | .init_early = imx27_init_early, | 78 | .init_early = imx27_init_early, |
83 | .init_irq = mx27_init_irq, | 79 | .init_irq = mx27_init_irq, |
84 | .handle_irq = imx27_handle_irq, | 80 | .handle_irq = imx27_handle_irq, |
85 | .timer = &mx27lite_timer, | 81 | .init_time = mx27lite_timer_init, |
86 | .init_machine = mx27lite_init, | 82 | .init_machine = mx27lite_init, |
87 | .restart = mxc_restart, | 83 | .restart = mxc_restart, |
88 | MACHINE_END | 84 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c index 860284dea0e7..f579c616feed 100644 --- a/arch/arm/mach-imx/mach-imx53.c +++ b/arch/arm/mach-imx/mach-imx53.c | |||
@@ -44,26 +44,22 @@ static void __init imx53_dt_init(void) | |||
44 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 44 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
45 | } | 45 | } |
46 | 46 | ||
47 | static void __init imx53_timer_init(void) | ||
48 | { | ||
49 | mx53_clocks_init_dt(); | ||
50 | } | ||
51 | |||
52 | static struct sys_timer imx53_timer = { | ||
53 | .init = imx53_timer_init, | ||
54 | }; | ||
55 | |||
56 | static const char *imx53_dt_board_compat[] __initdata = { | 47 | static const char *imx53_dt_board_compat[] __initdata = { |
57 | "fsl,imx53", | 48 | "fsl,imx53", |
58 | NULL | 49 | NULL |
59 | }; | 50 | }; |
60 | 51 | ||
52 | static void __init imx53_timer_init(void) | ||
53 | { | ||
54 | mx53_clocks_init_dt(); | ||
55 | } | ||
56 | |||
61 | DT_MACHINE_START(IMX53_DT, "Freescale i.MX53 (Device Tree Support)") | 57 | DT_MACHINE_START(IMX53_DT, "Freescale i.MX53 (Device Tree Support)") |
62 | .map_io = mx53_map_io, | 58 | .map_io = mx53_map_io, |
63 | .init_early = imx53_init_early, | 59 | .init_early = imx53_init_early, |
64 | .init_irq = mx53_init_irq, | 60 | .init_irq = mx53_init_irq, |
65 | .handle_irq = imx53_handle_irq, | 61 | .handle_irq = imx53_handle_irq, |
66 | .timer = &imx53_timer, | 62 | .init_time = imx53_timer_init, |
67 | .init_machine = imx53_dt_init, | 63 | .init_machine = imx53_dt_init, |
68 | .init_late = imx53_init_late, | 64 | .init_late = imx53_init_late, |
69 | .dt_compat = imx53_dt_board_compat, | 65 | .dt_compat = imx53_dt_board_compat, |
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 4eb1b3ac794c..cd277a0f5b16 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -241,10 +241,6 @@ static void __init imx6q_timer_init(void) | |||
241 | imx_print_silicon_rev("i.MX6Q", imx6q_revision()); | 241 | imx_print_silicon_rev("i.MX6Q", imx6q_revision()); |
242 | } | 242 | } |
243 | 243 | ||
244 | static struct sys_timer imx6q_timer = { | ||
245 | .init = imx6q_timer_init, | ||
246 | }; | ||
247 | |||
248 | static const char *imx6q_dt_compat[] __initdata = { | 244 | static const char *imx6q_dt_compat[] __initdata = { |
249 | "fsl,imx6q", | 245 | "fsl,imx6q", |
250 | NULL, | 246 | NULL, |
@@ -255,7 +251,7 @@ DT_MACHINE_START(IMX6Q, "Freescale i.MX6 Quad (Device Tree)") | |||
255 | .map_io = imx6q_map_io, | 251 | .map_io = imx6q_map_io, |
256 | .init_irq = imx6q_init_irq, | 252 | .init_irq = imx6q_init_irq, |
257 | .handle_irq = imx6q_handle_irq, | 253 | .handle_irq = imx6q_handle_irq, |
258 | .timer = &imx6q_timer, | 254 | .init_time = imx6q_timer_init, |
259 | .init_machine = imx6q_init_machine, | 255 | .init_machine = imx6q_init_machine, |
260 | .init_late = imx6q_init_late, | 256 | .init_late = imx6q_init_late, |
261 | .dt_compat = imx6q_dt_compat, | 257 | .dt_compat = imx6q_dt_compat, |
diff --git a/arch/arm/mach-imx/mach-kzm_arm11_01.c b/arch/arm/mach-imx/mach-kzm_arm11_01.c index 2e536ea53444..c7bc41d6b468 100644 --- a/arch/arm/mach-imx/mach-kzm_arm11_01.c +++ b/arch/arm/mach-imx/mach-kzm_arm11_01.c | |||
@@ -284,17 +284,13 @@ static void __init kzm_timer_init(void) | |||
284 | mx31_clocks_init(26000000); | 284 | mx31_clocks_init(26000000); |
285 | } | 285 | } |
286 | 286 | ||
287 | static struct sys_timer kzm_timer = { | ||
288 | .init = kzm_timer_init, | ||
289 | }; | ||
290 | |||
291 | MACHINE_START(KZM_ARM11_01, "Kyoto Microcomputer Co., Ltd. KZM-ARM11-01") | 287 | MACHINE_START(KZM_ARM11_01, "Kyoto Microcomputer Co., Ltd. KZM-ARM11-01") |
292 | .atag_offset = 0x100, | 288 | .atag_offset = 0x100, |
293 | .map_io = kzm_map_io, | 289 | .map_io = kzm_map_io, |
294 | .init_early = imx31_init_early, | 290 | .init_early = imx31_init_early, |
295 | .init_irq = mx31_init_irq, | 291 | .init_irq = mx31_init_irq, |
296 | .handle_irq = imx31_handle_irq, | 292 | .handle_irq = imx31_handle_irq, |
297 | .timer = &kzm_timer, | 293 | .init_time = kzm_timer_init, |
298 | .init_machine = kzm_board_init, | 294 | .init_machine = kzm_board_init, |
299 | .restart = mxc_restart, | 295 | .restart = mxc_restart, |
300 | MACHINE_END | 296 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx1ads.c b/arch/arm/mach-imx/mach-mx1ads.c index 06b483783e68..9f883e4d6fc9 100644 --- a/arch/arm/mach-imx/mach-mx1ads.c +++ b/arch/arm/mach-imx/mach-mx1ads.c | |||
@@ -132,10 +132,6 @@ static void __init mx1ads_timer_init(void) | |||
132 | mx1_clocks_init(32000); | 132 | mx1_clocks_init(32000); |
133 | } | 133 | } |
134 | 134 | ||
135 | static struct sys_timer mx1ads_timer = { | ||
136 | .init = mx1ads_timer_init, | ||
137 | }; | ||
138 | |||
139 | MACHINE_START(MX1ADS, "Freescale MX1ADS") | 135 | MACHINE_START(MX1ADS, "Freescale MX1ADS") |
140 | /* Maintainer: Sascha Hauer, Pengutronix */ | 136 | /* Maintainer: Sascha Hauer, Pengutronix */ |
141 | .atag_offset = 0x100, | 137 | .atag_offset = 0x100, |
@@ -143,7 +139,7 @@ MACHINE_START(MX1ADS, "Freescale MX1ADS") | |||
143 | .init_early = imx1_init_early, | 139 | .init_early = imx1_init_early, |
144 | .init_irq = mx1_init_irq, | 140 | .init_irq = mx1_init_irq, |
145 | .handle_irq = imx1_handle_irq, | 141 | .handle_irq = imx1_handle_irq, |
146 | .timer = &mx1ads_timer, | 142 | .init_time = mx1ads_timer_init, |
147 | .init_machine = mx1ads_init, | 143 | .init_machine = mx1ads_init, |
148 | .restart = mxc_restart, | 144 | .restart = mxc_restart, |
149 | MACHINE_END | 145 | MACHINE_END |
@@ -154,7 +150,7 @@ MACHINE_START(MXLADS, "Freescale MXLADS") | |||
154 | .init_early = imx1_init_early, | 150 | .init_early = imx1_init_early, |
155 | .init_irq = mx1_init_irq, | 151 | .init_irq = mx1_init_irq, |
156 | .handle_irq = imx1_handle_irq, | 152 | .handle_irq = imx1_handle_irq, |
157 | .timer = &mx1ads_timer, | 153 | .init_time = mx1ads_timer_init, |
158 | .init_machine = mx1ads_init, | 154 | .init_machine = mx1ads_init, |
159 | .restart = mxc_restart, | 155 | .restart = mxc_restart, |
160 | MACHINE_END | 156 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx21ads.c b/arch/arm/mach-imx/mach-mx21ads.c index 6adb3136bb08..a06aa4dc37fc 100644 --- a/arch/arm/mach-imx/mach-mx21ads.c +++ b/arch/arm/mach-imx/mach-mx21ads.c | |||
@@ -318,10 +318,6 @@ static void __init mx21ads_timer_init(void) | |||
318 | mx21_clocks_init(32768, 26000000); | 318 | mx21_clocks_init(32768, 26000000); |
319 | } | 319 | } |
320 | 320 | ||
321 | static struct sys_timer mx21ads_timer = { | ||
322 | .init = mx21ads_timer_init, | ||
323 | }; | ||
324 | |||
325 | MACHINE_START(MX21ADS, "Freescale i.MX21ADS") | 321 | MACHINE_START(MX21ADS, "Freescale i.MX21ADS") |
326 | /* maintainer: Freescale Semiconductor, Inc. */ | 322 | /* maintainer: Freescale Semiconductor, Inc. */ |
327 | .atag_offset = 0x100, | 323 | .atag_offset = 0x100, |
@@ -329,7 +325,7 @@ MACHINE_START(MX21ADS, "Freescale i.MX21ADS") | |||
329 | .init_early = imx21_init_early, | 325 | .init_early = imx21_init_early, |
330 | .init_irq = mx21_init_irq, | 326 | .init_irq = mx21_init_irq, |
331 | .handle_irq = imx21_handle_irq, | 327 | .handle_irq = imx21_handle_irq, |
332 | .timer = &mx21ads_timer, | 328 | .init_time = mx21ads_timer_init, |
333 | .init_machine = mx21ads_board_init, | 329 | .init_machine = mx21ads_board_init, |
334 | .restart = mxc_restart, | 330 | .restart = mxc_restart, |
335 | MACHINE_END | 331 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c index b1b03aa55bb8..8bcda688a006 100644 --- a/arch/arm/mach-imx/mach-mx25_3ds.c +++ b/arch/arm/mach-imx/mach-mx25_3ds.c | |||
@@ -257,10 +257,6 @@ static void __init mx25pdk_timer_init(void) | |||
257 | mx25_clocks_init(); | 257 | mx25_clocks_init(); |
258 | } | 258 | } |
259 | 259 | ||
260 | static struct sys_timer mx25pdk_timer = { | ||
261 | .init = mx25pdk_timer_init, | ||
262 | }; | ||
263 | |||
264 | MACHINE_START(MX25_3DS, "Freescale MX25PDK (3DS)") | 260 | MACHINE_START(MX25_3DS, "Freescale MX25PDK (3DS)") |
265 | /* Maintainer: Freescale Semiconductor, Inc. */ | 261 | /* Maintainer: Freescale Semiconductor, Inc. */ |
266 | .atag_offset = 0x100, | 262 | .atag_offset = 0x100, |
@@ -268,7 +264,7 @@ MACHINE_START(MX25_3DS, "Freescale MX25PDK (3DS)") | |||
268 | .init_early = imx25_init_early, | 264 | .init_early = imx25_init_early, |
269 | .init_irq = mx25_init_irq, | 265 | .init_irq = mx25_init_irq, |
270 | .handle_irq = imx25_handle_irq, | 266 | .handle_irq = imx25_handle_irq, |
271 | .timer = &mx25pdk_timer, | 267 | .init_time = mx25pdk_timer_init, |
272 | .init_machine = mx25pdk_init, | 268 | .init_machine = mx25pdk_init, |
273 | .restart = mxc_restart, | 269 | .restart = mxc_restart, |
274 | MACHINE_END | 270 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c index d0e547fa925f..25b3e4c9bc0a 100644 --- a/arch/arm/mach-imx/mach-mx27_3ds.c +++ b/arch/arm/mach-imx/mach-mx27_3ds.c | |||
@@ -538,10 +538,6 @@ static void __init mx27pdk_timer_init(void) | |||
538 | mx27_clocks_init(26000000); | 538 | mx27_clocks_init(26000000); |
539 | } | 539 | } |
540 | 540 | ||
541 | static struct sys_timer mx27pdk_timer = { | ||
542 | .init = mx27pdk_timer_init, | ||
543 | }; | ||
544 | |||
545 | MACHINE_START(MX27_3DS, "Freescale MX27PDK") | 541 | MACHINE_START(MX27_3DS, "Freescale MX27PDK") |
546 | /* maintainer: Freescale Semiconductor, Inc. */ | 542 | /* maintainer: Freescale Semiconductor, Inc. */ |
547 | .atag_offset = 0x100, | 543 | .atag_offset = 0x100, |
@@ -549,7 +545,7 @@ MACHINE_START(MX27_3DS, "Freescale MX27PDK") | |||
549 | .init_early = imx27_init_early, | 545 | .init_early = imx27_init_early, |
550 | .init_irq = mx27_init_irq, | 546 | .init_irq = mx27_init_irq, |
551 | .handle_irq = imx27_handle_irq, | 547 | .handle_irq = imx27_handle_irq, |
552 | .timer = &mx27pdk_timer, | 548 | .init_time = mx27pdk_timer_init, |
553 | .init_machine = mx27pdk_init, | 549 | .init_machine = mx27pdk_init, |
554 | .restart = mxc_restart, | 550 | .restart = mxc_restart, |
555 | MACHINE_END | 551 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx27ads.c b/arch/arm/mach-imx/mach-mx27ads.c index 3d036f57f0e6..9821b824dcaf 100644 --- a/arch/arm/mach-imx/mach-mx27ads.c +++ b/arch/arm/mach-imx/mach-mx27ads.c | |||
@@ -323,10 +323,6 @@ static void __init mx27ads_timer_init(void) | |||
323 | mx27_clocks_init(fref); | 323 | mx27_clocks_init(fref); |
324 | } | 324 | } |
325 | 325 | ||
326 | static struct sys_timer mx27ads_timer = { | ||
327 | .init = mx27ads_timer_init, | ||
328 | }; | ||
329 | |||
330 | static struct map_desc mx27ads_io_desc[] __initdata = { | 326 | static struct map_desc mx27ads_io_desc[] __initdata = { |
331 | { | 327 | { |
332 | .virtual = PBC_BASE_ADDRESS, | 328 | .virtual = PBC_BASE_ADDRESS, |
@@ -349,7 +345,7 @@ MACHINE_START(MX27ADS, "Freescale i.MX27ADS") | |||
349 | .init_early = imx27_init_early, | 345 | .init_early = imx27_init_early, |
350 | .init_irq = mx27_init_irq, | 346 | .init_irq = mx27_init_irq, |
351 | .handle_irq = imx27_handle_irq, | 347 | .handle_irq = imx27_handle_irq, |
352 | .timer = &mx27ads_timer, | 348 | .init_time = mx27ads_timer_init, |
353 | .init_machine = mx27ads_board_init, | 349 | .init_machine = mx27ads_board_init, |
354 | .restart = mxc_restart, | 350 | .restart = mxc_restart, |
355 | MACHINE_END | 351 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c index bc301befdd06..1ed916175d41 100644 --- a/arch/arm/mach-imx/mach-mx31_3ds.c +++ b/arch/arm/mach-imx/mach-mx31_3ds.c | |||
@@ -762,10 +762,6 @@ static void __init mx31_3ds_timer_init(void) | |||
762 | mx31_clocks_init(26000000); | 762 | mx31_clocks_init(26000000); |
763 | } | 763 | } |
764 | 764 | ||
765 | static struct sys_timer mx31_3ds_timer = { | ||
766 | .init = mx31_3ds_timer_init, | ||
767 | }; | ||
768 | |||
769 | static void __init mx31_3ds_reserve(void) | 765 | static void __init mx31_3ds_reserve(void) |
770 | { | 766 | { |
771 | /* reserve MX31_3DS_CAMERA_BUF_SIZE bytes for mx3-camera */ | 767 | /* reserve MX31_3DS_CAMERA_BUF_SIZE bytes for mx3-camera */ |
@@ -780,7 +776,7 @@ MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)") | |||
780 | .init_early = imx31_init_early, | 776 | .init_early = imx31_init_early, |
781 | .init_irq = mx31_init_irq, | 777 | .init_irq = mx31_init_irq, |
782 | .handle_irq = imx31_handle_irq, | 778 | .handle_irq = imx31_handle_irq, |
783 | .timer = &mx31_3ds_timer, | 779 | .init_time = mx31_3ds_timer_init, |
784 | .init_machine = mx31_3ds_init, | 780 | .init_machine = mx31_3ds_init, |
785 | .reserve = mx31_3ds_reserve, | 781 | .reserve = mx31_3ds_reserve, |
786 | .restart = mxc_restart, | 782 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/mach-mx31ads.c b/arch/arm/mach-imx/mach-mx31ads.c index 8b56f8883f32..daf8889125cc 100644 --- a/arch/arm/mach-imx/mach-mx31ads.c +++ b/arch/arm/mach-imx/mach-mx31ads.c | |||
@@ -576,10 +576,6 @@ static void __init mx31ads_timer_init(void) | |||
576 | mx31_clocks_init(26000000); | 576 | mx31_clocks_init(26000000); |
577 | } | 577 | } |
578 | 578 | ||
579 | static struct sys_timer mx31ads_timer = { | ||
580 | .init = mx31ads_timer_init, | ||
581 | }; | ||
582 | |||
583 | MACHINE_START(MX31ADS, "Freescale MX31ADS") | 579 | MACHINE_START(MX31ADS, "Freescale MX31ADS") |
584 | /* Maintainer: Freescale Semiconductor, Inc. */ | 580 | /* Maintainer: Freescale Semiconductor, Inc. */ |
585 | .atag_offset = 0x100, | 581 | .atag_offset = 0x100, |
@@ -587,7 +583,7 @@ MACHINE_START(MX31ADS, "Freescale MX31ADS") | |||
587 | .init_early = imx31_init_early, | 583 | .init_early = imx31_init_early, |
588 | .init_irq = mx31ads_init_irq, | 584 | .init_irq = mx31ads_init_irq, |
589 | .handle_irq = imx31_handle_irq, | 585 | .handle_irq = imx31_handle_irq, |
590 | .timer = &mx31ads_timer, | 586 | .init_time = mx31ads_timer_init, |
591 | .init_machine = mx31ads_init, | 587 | .init_machine = mx31ads_init, |
592 | .restart = mxc_restart, | 588 | .restart = mxc_restart, |
593 | MACHINE_END | 589 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx31lilly.c b/arch/arm/mach-imx/mach-mx31lilly.c index 08b9965c8b36..832b1e2f964e 100644 --- a/arch/arm/mach-imx/mach-mx31lilly.c +++ b/arch/arm/mach-imx/mach-mx31lilly.c | |||
@@ -303,17 +303,13 @@ static void __init mx31lilly_timer_init(void) | |||
303 | mx31_clocks_init(26000000); | 303 | mx31_clocks_init(26000000); |
304 | } | 304 | } |
305 | 305 | ||
306 | static struct sys_timer mx31lilly_timer = { | ||
307 | .init = mx31lilly_timer_init, | ||
308 | }; | ||
309 | |||
310 | MACHINE_START(LILLY1131, "INCO startec LILLY-1131") | 306 | MACHINE_START(LILLY1131, "INCO startec LILLY-1131") |
311 | .atag_offset = 0x100, | 307 | .atag_offset = 0x100, |
312 | .map_io = mx31_map_io, | 308 | .map_io = mx31_map_io, |
313 | .init_early = imx31_init_early, | 309 | .init_early = imx31_init_early, |
314 | .init_irq = mx31_init_irq, | 310 | .init_irq = mx31_init_irq, |
315 | .handle_irq = imx31_handle_irq, | 311 | .handle_irq = imx31_handle_irq, |
316 | .timer = &mx31lilly_timer, | 312 | .init_time = mx31lilly_timer_init, |
317 | .init_machine = mx31lilly_board_init, | 313 | .init_machine = mx31lilly_board_init, |
318 | .restart = mxc_restart, | 314 | .restart = mxc_restart, |
319 | MACHINE_END | 315 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx31lite.c b/arch/arm/mach-imx/mach-mx31lite.c index bdcd92e59518..bea07299b61a 100644 --- a/arch/arm/mach-imx/mach-mx31lite.c +++ b/arch/arm/mach-imx/mach-mx31lite.c | |||
@@ -285,10 +285,6 @@ static void __init mx31lite_timer_init(void) | |||
285 | mx31_clocks_init(26000000); | 285 | mx31_clocks_init(26000000); |
286 | } | 286 | } |
287 | 287 | ||
288 | static struct sys_timer mx31lite_timer = { | ||
289 | .init = mx31lite_timer_init, | ||
290 | }; | ||
291 | |||
292 | MACHINE_START(MX31LITE, "LogicPD i.MX31 SOM") | 288 | MACHINE_START(MX31LITE, "LogicPD i.MX31 SOM") |
293 | /* Maintainer: Freescale Semiconductor, Inc. */ | 289 | /* Maintainer: Freescale Semiconductor, Inc. */ |
294 | .atag_offset = 0x100, | 290 | .atag_offset = 0x100, |
@@ -296,7 +292,7 @@ MACHINE_START(MX31LITE, "LogicPD i.MX31 SOM") | |||
296 | .init_early = imx31_init_early, | 292 | .init_early = imx31_init_early, |
297 | .init_irq = mx31_init_irq, | 293 | .init_irq = mx31_init_irq, |
298 | .handle_irq = imx31_handle_irq, | 294 | .handle_irq = imx31_handle_irq, |
299 | .timer = &mx31lite_timer, | 295 | .init_time = mx31lite_timer_init, |
300 | .init_machine = mx31lite_init, | 296 | .init_machine = mx31lite_init, |
301 | .restart = mxc_restart, | 297 | .restart = mxc_restart, |
302 | MACHINE_END | 298 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index 2517cfa9f26b..dae4cd7be040 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c | |||
@@ -596,10 +596,6 @@ static void __init mx31moboard_timer_init(void) | |||
596 | mx31_clocks_init(26000000); | 596 | mx31_clocks_init(26000000); |
597 | } | 597 | } |
598 | 598 | ||
599 | static struct sys_timer mx31moboard_timer = { | ||
600 | .init = mx31moboard_timer_init, | ||
601 | }; | ||
602 | |||
603 | static void __init mx31moboard_reserve(void) | 599 | static void __init mx31moboard_reserve(void) |
604 | { | 600 | { |
605 | /* reserve 4 MiB for mx3-camera */ | 601 | /* reserve 4 MiB for mx3-camera */ |
@@ -615,7 +611,7 @@ MACHINE_START(MX31MOBOARD, "EPFL Mobots mx31moboard") | |||
615 | .init_early = imx31_init_early, | 611 | .init_early = imx31_init_early, |
616 | .init_irq = mx31_init_irq, | 612 | .init_irq = mx31_init_irq, |
617 | .handle_irq = imx31_handle_irq, | 613 | .handle_irq = imx31_handle_irq, |
618 | .timer = &mx31moboard_timer, | 614 | .init_time = mx31moboard_timer_init, |
619 | .init_machine = mx31moboard_init, | 615 | .init_machine = mx31moboard_init, |
620 | .restart = mxc_restart, | 616 | .restart = mxc_restart, |
621 | MACHINE_END | 617 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c index 5277da45d60c..a42f4f07051f 100644 --- a/arch/arm/mach-imx/mach-mx35_3ds.c +++ b/arch/arm/mach-imx/mach-mx35_3ds.c | |||
@@ -602,10 +602,6 @@ static void __init mx35pdk_timer_init(void) | |||
602 | mx35_clocks_init(); | 602 | mx35_clocks_init(); |
603 | } | 603 | } |
604 | 604 | ||
605 | static struct sys_timer mx35pdk_timer = { | ||
606 | .init = mx35pdk_timer_init, | ||
607 | }; | ||
608 | |||
609 | static void __init mx35_3ds_reserve(void) | 605 | static void __init mx35_3ds_reserve(void) |
610 | { | 606 | { |
611 | /* reserve MX35_3DS_CAMERA_BUF_SIZE bytes for mx3-camera */ | 607 | /* reserve MX35_3DS_CAMERA_BUF_SIZE bytes for mx3-camera */ |
@@ -620,7 +616,7 @@ MACHINE_START(MX35_3DS, "Freescale MX35PDK") | |||
620 | .init_early = imx35_init_early, | 616 | .init_early = imx35_init_early, |
621 | .init_irq = mx35_init_irq, | 617 | .init_irq = mx35_init_irq, |
622 | .handle_irq = imx35_handle_irq, | 618 | .handle_irq = imx35_handle_irq, |
623 | .timer = &mx35pdk_timer, | 619 | .init_time = mx35pdk_timer_init, |
624 | .init_machine = mx35_3ds_init, | 620 | .init_machine = mx35_3ds_init, |
625 | .reserve = mx35_3ds_reserve, | 621 | .reserve = mx35_3ds_reserve, |
626 | .restart = mxc_restart, | 622 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/mach-mx50_rdp.c b/arch/arm/mach-imx/mach-mx50_rdp.c index 0c1f88a80bdc..8937902bda5f 100644 --- a/arch/arm/mach-imx/mach-mx50_rdp.c +++ b/arch/arm/mach-imx/mach-mx50_rdp.c | |||
@@ -210,16 +210,12 @@ static void __init mx50_rdp_timer_init(void) | |||
210 | mx50_clocks_init(32768, 24000000, 22579200); | 210 | mx50_clocks_init(32768, 24000000, 22579200); |
211 | } | 211 | } |
212 | 212 | ||
213 | static struct sys_timer mx50_rdp_timer = { | ||
214 | .init = mx50_rdp_timer_init, | ||
215 | }; | ||
216 | |||
217 | MACHINE_START(MX50_RDP, "Freescale MX50 Reference Design Platform") | 213 | MACHINE_START(MX50_RDP, "Freescale MX50 Reference Design Platform") |
218 | .map_io = mx50_map_io, | 214 | .map_io = mx50_map_io, |
219 | .init_early = imx50_init_early, | 215 | .init_early = imx50_init_early, |
220 | .init_irq = mx50_init_irq, | 216 | .init_irq = mx50_init_irq, |
221 | .handle_irq = imx50_handle_irq, | 217 | .handle_irq = imx50_handle_irq, |
222 | .timer = &mx50_rdp_timer, | 218 | .init_time = mx50_rdp_timer_init, |
223 | .init_machine = mx50_rdp_board_init, | 219 | .init_machine = mx50_rdp_board_init, |
224 | .restart = mxc_restart, | 220 | .restart = mxc_restart, |
225 | MACHINE_END | 221 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-mx51_3ds.c b/arch/arm/mach-imx/mach-mx51_3ds.c index abc25bd1107b..2d2365111532 100644 --- a/arch/arm/mach-imx/mach-mx51_3ds.c +++ b/arch/arm/mach-imx/mach-mx51_3ds.c | |||
@@ -160,10 +160,6 @@ static void __init mx51_3ds_timer_init(void) | |||
160 | mx51_clocks_init(32768, 24000000, 22579200, 0); | 160 | mx51_clocks_init(32768, 24000000, 22579200, 0); |
161 | } | 161 | } |
162 | 162 | ||
163 | static struct sys_timer mx51_3ds_timer = { | ||
164 | .init = mx51_3ds_timer_init, | ||
165 | }; | ||
166 | |||
167 | MACHINE_START(MX51_3DS, "Freescale MX51 3-Stack Board") | 163 | MACHINE_START(MX51_3DS, "Freescale MX51 3-Stack Board") |
168 | /* Maintainer: Freescale Semiconductor, Inc. */ | 164 | /* Maintainer: Freescale Semiconductor, Inc. */ |
169 | .atag_offset = 0x100, | 165 | .atag_offset = 0x100, |
@@ -171,7 +167,7 @@ MACHINE_START(MX51_3DS, "Freescale MX51 3-Stack Board") | |||
171 | .init_early = imx51_init_early, | 167 | .init_early = imx51_init_early, |
172 | .init_irq = mx51_init_irq, | 168 | .init_irq = mx51_init_irq, |
173 | .handle_irq = imx51_handle_irq, | 169 | .handle_irq = imx51_handle_irq, |
174 | .timer = &mx51_3ds_timer, | 170 | .init_time = mx51_3ds_timer_init, |
175 | .init_machine = mx51_3ds_init, | 171 | .init_machine = mx51_3ds_init, |
176 | .init_late = imx51_init_late, | 172 | .init_late = imx51_init_late, |
177 | .restart = mxc_restart, | 173 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/mach-mx51_babbage.c b/arch/arm/mach-imx/mach-mx51_babbage.c index d9a84ca2199a..6c4d7feb4520 100644 --- a/arch/arm/mach-imx/mach-mx51_babbage.c +++ b/arch/arm/mach-imx/mach-mx51_babbage.c | |||
@@ -418,10 +418,6 @@ static void __init mx51_babbage_timer_init(void) | |||
418 | mx51_clocks_init(32768, 24000000, 22579200, 0); | 418 | mx51_clocks_init(32768, 24000000, 22579200, 0); |
419 | } | 419 | } |
420 | 420 | ||
421 | static struct sys_timer mx51_babbage_timer = { | ||
422 | .init = mx51_babbage_timer_init, | ||
423 | }; | ||
424 | |||
425 | MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board") | 421 | MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board") |
426 | /* Maintainer: Amit Kucheria <amit.kucheria@canonical.com> */ | 422 | /* Maintainer: Amit Kucheria <amit.kucheria@canonical.com> */ |
427 | .atag_offset = 0x100, | 423 | .atag_offset = 0x100, |
@@ -429,7 +425,7 @@ MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board") | |||
429 | .init_early = imx51_init_early, | 425 | .init_early = imx51_init_early, |
430 | .init_irq = mx51_init_irq, | 426 | .init_irq = mx51_init_irq, |
431 | .handle_irq = imx51_handle_irq, | 427 | .handle_irq = imx51_handle_irq, |
432 | .timer = &mx51_babbage_timer, | 428 | .init_time = mx51_babbage_timer_init, |
433 | .init_machine = mx51_babbage_init, | 429 | .init_machine = mx51_babbage_init, |
434 | .init_late = imx51_init_late, | 430 | .init_late = imx51_init_late, |
435 | .restart = mxc_restart, | 431 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/mach-mxt_td60.c b/arch/arm/mach-imx/mach-mxt_td60.c index f4a8c7e108e1..a27faaba98ec 100644 --- a/arch/arm/mach-imx/mach-mxt_td60.c +++ b/arch/arm/mach-imx/mach-mxt_td60.c | |||
@@ -261,10 +261,6 @@ static void __init mxt_td60_timer_init(void) | |||
261 | mx27_clocks_init(26000000); | 261 | mx27_clocks_init(26000000); |
262 | } | 262 | } |
263 | 263 | ||
264 | static struct sys_timer mxt_td60_timer = { | ||
265 | .init = mxt_td60_timer_init, | ||
266 | }; | ||
267 | |||
268 | MACHINE_START(MXT_TD60, "Maxtrack i-MXT TD60") | 264 | MACHINE_START(MXT_TD60, "Maxtrack i-MXT TD60") |
269 | /* maintainer: Maxtrack Industrial */ | 265 | /* maintainer: Maxtrack Industrial */ |
270 | .atag_offset = 0x100, | 266 | .atag_offset = 0x100, |
@@ -272,7 +268,7 @@ MACHINE_START(MXT_TD60, "Maxtrack i-MXT TD60") | |||
272 | .init_early = imx27_init_early, | 268 | .init_early = imx27_init_early, |
273 | .init_irq = mx27_init_irq, | 269 | .init_irq = mx27_init_irq, |
274 | .handle_irq = imx27_handle_irq, | 270 | .handle_irq = imx27_handle_irq, |
275 | .timer = &mxt_td60_timer, | 271 | .init_time = mxt_td60_timer_init, |
276 | .init_machine = mxt_td60_board_init, | 272 | .init_machine = mxt_td60_board_init, |
277 | .restart = mxc_restart, | 273 | .restart = mxc_restart, |
278 | MACHINE_END | 274 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-pca100.c b/arch/arm/mach-imx/mach-pca100.c index eee369fa94a2..b8b15bb1ffdf 100644 --- a/arch/arm/mach-imx/mach-pca100.c +++ b/arch/arm/mach-imx/mach-pca100.c | |||
@@ -416,10 +416,6 @@ static void __init pca100_timer_init(void) | |||
416 | mx27_clocks_init(26000000); | 416 | mx27_clocks_init(26000000); |
417 | } | 417 | } |
418 | 418 | ||
419 | static struct sys_timer pca100_timer = { | ||
420 | .init = pca100_timer_init, | ||
421 | }; | ||
422 | |||
423 | MACHINE_START(PCA100, "phyCARD-i.MX27") | 419 | MACHINE_START(PCA100, "phyCARD-i.MX27") |
424 | .atag_offset = 0x100, | 420 | .atag_offset = 0x100, |
425 | .map_io = mx27_map_io, | 421 | .map_io = mx27_map_io, |
@@ -427,6 +423,6 @@ MACHINE_START(PCA100, "phyCARD-i.MX27") | |||
427 | .init_irq = mx27_init_irq, | 423 | .init_irq = mx27_init_irq, |
428 | .handle_irq = imx27_handle_irq, | 424 | .handle_irq = imx27_handle_irq, |
429 | .init_machine = pca100_init, | 425 | .init_machine = pca100_init, |
430 | .timer = &pca100_timer, | 426 | .init_time = pca100_timer_init, |
431 | .restart = mxc_restart, | 427 | .restart = mxc_restart, |
432 | MACHINE_END | 428 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-pcm037.c b/arch/arm/mach-imx/mach-pcm037.c index 547fef133f65..bc0261e99d39 100644 --- a/arch/arm/mach-imx/mach-pcm037.c +++ b/arch/arm/mach-imx/mach-pcm037.c | |||
@@ -685,10 +685,6 @@ static void __init pcm037_timer_init(void) | |||
685 | mx31_clocks_init(26000000); | 685 | mx31_clocks_init(26000000); |
686 | } | 686 | } |
687 | 687 | ||
688 | static struct sys_timer pcm037_timer = { | ||
689 | .init = pcm037_timer_init, | ||
690 | }; | ||
691 | |||
692 | static void __init pcm037_reserve(void) | 688 | static void __init pcm037_reserve(void) |
693 | { | 689 | { |
694 | /* reserve 4 MiB for mx3-camera */ | 690 | /* reserve 4 MiB for mx3-camera */ |
@@ -709,7 +705,7 @@ MACHINE_START(PCM037, "Phytec Phycore pcm037") | |||
709 | .init_early = imx31_init_early, | 705 | .init_early = imx31_init_early, |
710 | .init_irq = mx31_init_irq, | 706 | .init_irq = mx31_init_irq, |
711 | .handle_irq = imx31_handle_irq, | 707 | .handle_irq = imx31_handle_irq, |
712 | .timer = &pcm037_timer, | 708 | .init_time = pcm037_timer_init, |
713 | .init_machine = pcm037_init, | 709 | .init_machine = pcm037_init, |
714 | .init_late = pcm037_init_late, | 710 | .init_late = pcm037_init_late, |
715 | .restart = mxc_restart, | 711 | .restart = mxc_restart, |
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c index 4aa0d0798605..e805ac273e9c 100644 --- a/arch/arm/mach-imx/mach-pcm038.c +++ b/arch/arm/mach-imx/mach-pcm038.c | |||
@@ -346,17 +346,13 @@ static void __init pcm038_timer_init(void) | |||
346 | mx27_clocks_init(26000000); | 346 | mx27_clocks_init(26000000); |
347 | } | 347 | } |
348 | 348 | ||
349 | static struct sys_timer pcm038_timer = { | ||
350 | .init = pcm038_timer_init, | ||
351 | }; | ||
352 | |||
353 | MACHINE_START(PCM038, "phyCORE-i.MX27") | 349 | MACHINE_START(PCM038, "phyCORE-i.MX27") |
354 | .atag_offset = 0x100, | 350 | .atag_offset = 0x100, |
355 | .map_io = mx27_map_io, | 351 | .map_io = mx27_map_io, |
356 | .init_early = imx27_init_early, | 352 | .init_early = imx27_init_early, |
357 | .init_irq = mx27_init_irq, | 353 | .init_irq = mx27_init_irq, |
358 | .handle_irq = imx27_handle_irq, | 354 | .handle_irq = imx27_handle_irq, |
359 | .timer = &pcm038_timer, | 355 | .init_time = pcm038_timer_init, |
360 | .init_machine = pcm038_init, | 356 | .init_machine = pcm038_init, |
361 | .restart = mxc_restart, | 357 | .restart = mxc_restart, |
362 | MACHINE_END | 358 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-pcm043.c b/arch/arm/mach-imx/mach-pcm043.c index 92445440221e..8ed533f0f8ca 100644 --- a/arch/arm/mach-imx/mach-pcm043.c +++ b/arch/arm/mach-imx/mach-pcm043.c | |||
@@ -394,10 +394,6 @@ static void __init pcm043_timer_init(void) | |||
394 | mx35_clocks_init(); | 394 | mx35_clocks_init(); |
395 | } | 395 | } |
396 | 396 | ||
397 | static struct sys_timer pcm043_timer = { | ||
398 | .init = pcm043_timer_init, | ||
399 | }; | ||
400 | |||
401 | MACHINE_START(PCM043, "Phytec Phycore pcm043") | 397 | MACHINE_START(PCM043, "Phytec Phycore pcm043") |
402 | /* Maintainer: Pengutronix */ | 398 | /* Maintainer: Pengutronix */ |
403 | .atag_offset = 0x100, | 399 | .atag_offset = 0x100, |
@@ -405,7 +401,7 @@ MACHINE_START(PCM043, "Phytec Phycore pcm043") | |||
405 | .init_early = imx35_init_early, | 401 | .init_early = imx35_init_early, |
406 | .init_irq = mx35_init_irq, | 402 | .init_irq = mx35_init_irq, |
407 | .handle_irq = imx35_handle_irq, | 403 | .handle_irq = imx35_handle_irq, |
408 | .timer = &pcm043_timer, | 404 | .init_time = pcm043_timer_init, |
409 | .init_machine = pcm043_init, | 405 | .init_machine = pcm043_init, |
410 | .restart = mxc_restart, | 406 | .restart = mxc_restart, |
411 | MACHINE_END | 407 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-qong.c b/arch/arm/mach-imx/mach-qong.c index 96d9a91f8a3b..22af27ed457e 100644 --- a/arch/arm/mach-imx/mach-qong.c +++ b/arch/arm/mach-imx/mach-qong.c | |||
@@ -260,10 +260,6 @@ static void __init qong_timer_init(void) | |||
260 | mx31_clocks_init(26000000); | 260 | mx31_clocks_init(26000000); |
261 | } | 261 | } |
262 | 262 | ||
263 | static struct sys_timer qong_timer = { | ||
264 | .init = qong_timer_init, | ||
265 | }; | ||
266 | |||
267 | MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") | 263 | MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") |
268 | /* Maintainer: DENX Software Engineering GmbH */ | 264 | /* Maintainer: DENX Software Engineering GmbH */ |
269 | .atag_offset = 0x100, | 265 | .atag_offset = 0x100, |
@@ -271,7 +267,7 @@ MACHINE_START(QONG, "Dave/DENX QongEVB-LITE") | |||
271 | .init_early = imx31_init_early, | 267 | .init_early = imx31_init_early, |
272 | .init_irq = mx31_init_irq, | 268 | .init_irq = mx31_init_irq, |
273 | .handle_irq = imx31_handle_irq, | 269 | .handle_irq = imx31_handle_irq, |
274 | .timer = &qong_timer, | 270 | .init_time = qong_timer_init, |
275 | .init_machine = qong_init, | 271 | .init_machine = qong_init, |
276 | .restart = mxc_restart, | 272 | .restart = mxc_restart, |
277 | MACHINE_END | 273 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-scb9328.c b/arch/arm/mach-imx/mach-scb9328.c index fc970409dbaf..b0fa10dd79fe 100644 --- a/arch/arm/mach-imx/mach-scb9328.c +++ b/arch/arm/mach-imx/mach-scb9328.c | |||
@@ -131,10 +131,6 @@ static void __init scb9328_timer_init(void) | |||
131 | mx1_clocks_init(32000); | 131 | mx1_clocks_init(32000); |
132 | } | 132 | } |
133 | 133 | ||
134 | static struct sys_timer scb9328_timer = { | ||
135 | .init = scb9328_timer_init, | ||
136 | }; | ||
137 | |||
138 | MACHINE_START(SCB9328, "Synertronixx scb9328") | 134 | MACHINE_START(SCB9328, "Synertronixx scb9328") |
139 | /* Sascha Hauer */ | 135 | /* Sascha Hauer */ |
140 | .atag_offset = 100, | 136 | .atag_offset = 100, |
@@ -142,7 +138,7 @@ MACHINE_START(SCB9328, "Synertronixx scb9328") | |||
142 | .init_early = imx1_init_early, | 138 | .init_early = imx1_init_early, |
143 | .init_irq = mx1_init_irq, | 139 | .init_irq = mx1_init_irq, |
144 | .handle_irq = imx1_handle_irq, | 140 | .handle_irq = imx1_handle_irq, |
145 | .timer = &scb9328_timer, | 141 | .init_time = scb9328_timer_init, |
146 | .init_machine = scb9328_init, | 142 | .init_machine = scb9328_init, |
147 | .restart = mxc_restart, | 143 | .restart = mxc_restart, |
148 | MACHINE_END | 144 | MACHINE_END |
diff --git a/arch/arm/mach-imx/mach-vpr200.c b/arch/arm/mach-imx/mach-vpr200.c index 3aecf91e4289..0910761e8280 100644 --- a/arch/arm/mach-imx/mach-vpr200.c +++ b/arch/arm/mach-imx/mach-vpr200.c | |||
@@ -305,17 +305,13 @@ static void __init vpr200_timer_init(void) | |||
305 | mx35_clocks_init(); | 305 | mx35_clocks_init(); |
306 | } | 306 | } |
307 | 307 | ||
308 | static struct sys_timer vpr200_timer = { | ||
309 | .init = vpr200_timer_init, | ||
310 | }; | ||
311 | |||
312 | MACHINE_START(VPR200, "VPR200") | 308 | MACHINE_START(VPR200, "VPR200") |
313 | /* Maintainer: Creative Product Design */ | 309 | /* Maintainer: Creative Product Design */ |
314 | .map_io = mx35_map_io, | 310 | .map_io = mx35_map_io, |
315 | .init_early = imx35_init_early, | 311 | .init_early = imx35_init_early, |
316 | .init_irq = mx35_init_irq, | 312 | .init_irq = mx35_init_irq, |
317 | .handle_irq = imx35_handle_irq, | 313 | .handle_irq = imx35_handle_irq, |
318 | .timer = &vpr200_timer, | 314 | .init_time = vpr200_timer_init, |
319 | .init_machine = vpr200_board_init, | 315 | .init_machine = vpr200_board_init, |
320 | .restart = mxc_restart, | 316 | .restart = mxc_restart, |
321 | MACHINE_END | 317 | MACHINE_END |