diff options
Diffstat (limited to 'arch/arm/mach-at91')
40 files changed, 44 insertions, 59 deletions
diff --git a/arch/arm/mach-at91/at91rm9200_time.c b/arch/arm/mach-at91/at91rm9200_time.c index cafe98836c8a..180b3024bec3 100644 --- a/arch/arm/mach-at91/at91rm9200_time.c +++ b/arch/arm/mach-at91/at91rm9200_time.c | |||
@@ -274,8 +274,3 @@ void __init at91rm9200_timer_init(void) | |||
274 | /* register clocksource */ | 274 | /* register clocksource */ |
275 | clocksource_register_hz(&clk32k, AT91_SLOW_CLOCK); | 275 | clocksource_register_hz(&clk32k, AT91_SLOW_CLOCK); |
276 | } | 276 | } |
277 | |||
278 | struct sys_timer at91rm9200_timer = { | ||
279 | .init = at91rm9200_timer_init, | ||
280 | }; | ||
281 | |||
diff --git a/arch/arm/mach-at91/at91sam926x_time.c b/arch/arm/mach-at91/at91sam926x_time.c index f7191e11df27..3a4bc2e1a65e 100644 --- a/arch/arm/mach-at91/at91sam926x_time.c +++ b/arch/arm/mach-at91/at91sam926x_time.c | |||
@@ -224,7 +224,7 @@ static int __init of_at91sam926x_pit_init(void) | |||
224 | /* | 224 | /* |
225 | * Set up both clocksource and clockevent support. | 225 | * Set up both clocksource and clockevent support. |
226 | */ | 226 | */ |
227 | static void __init at91sam926x_pit_init(void) | 227 | void __init at91sam926x_pit_init(void) |
228 | { | 228 | { |
229 | unsigned long pit_rate; | 229 | unsigned long pit_rate; |
230 | unsigned bits; | 230 | unsigned bits; |
@@ -279,7 +279,3 @@ void __init at91sam926x_ioremap_pit(u32 addr) | |||
279 | if (!pit_base_addr) | 279 | if (!pit_base_addr) |
280 | panic("Impossible to ioremap PIT\n"); | 280 | panic("Impossible to ioremap PIT\n"); |
281 | } | 281 | } |
282 | |||
283 | struct sys_timer at91sam926x_timer = { | ||
284 | .init = at91sam926x_pit_init, | ||
285 | }; | ||
diff --git a/arch/arm/mach-at91/at91x40_time.c b/arch/arm/mach-at91/at91x40_time.c index fb3c70124ac3..0c07a4459cb2 100644 --- a/arch/arm/mach-at91/at91x40_time.c +++ b/arch/arm/mach-at91/at91x40_time.c | |||
@@ -82,8 +82,3 @@ void __init at91x40_timer_init(void) | |||
82 | 82 | ||
83 | at91_tc_write(AT91_TC_CLK1BASE + AT91_TC_CCR, (AT91_TC_SWTRG | AT91_TC_CLKEN)); | 83 | at91_tc_write(AT91_TC_CLK1BASE + AT91_TC_CCR, (AT91_TC_SWTRG | AT91_TC_CLKEN)); |
84 | } | 84 | } |
85 | |||
86 | struct sys_timer at91x40_timer = { | ||
87 | .init = at91x40_timer_init, | ||
88 | }; | ||
89 | |||
diff --git a/arch/arm/mach-at91/board-1arm.c b/arch/arm/mach-at91/board-1arm.c index b99b5752cc10..35ab632bbf68 100644 --- a/arch/arm/mach-at91/board-1arm.c +++ b/arch/arm/mach-at91/board-1arm.c | |||
@@ -90,7 +90,7 @@ static void __init onearm_board_init(void) | |||
90 | 90 | ||
91 | MACHINE_START(ONEARM, "Ajeco 1ARM single board computer") | 91 | MACHINE_START(ONEARM, "Ajeco 1ARM single board computer") |
92 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ | 92 | /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */ |
93 | .timer = &at91rm9200_timer, | 93 | .init_time = at91rm9200_timer_init, |
94 | .map_io = at91_map_io, | 94 | .map_io = at91_map_io, |
95 | .handle_irq = at91_aic_handle_irq, | 95 | .handle_irq = at91_aic_handle_irq, |
96 | .init_early = onearm_init_early, | 96 | .init_early = onearm_init_early, |
diff --git a/arch/arm/mach-at91/board-afeb-9260v1.c b/arch/arm/mach-at91/board-afeb-9260v1.c index 854b97974287..f95e31cda4b3 100644 --- a/arch/arm/mach-at91/board-afeb-9260v1.c +++ b/arch/arm/mach-at91/board-afeb-9260v1.c | |||
@@ -210,7 +210,7 @@ static void __init afeb9260_board_init(void) | |||
210 | 210 | ||
211 | MACHINE_START(AFEB9260, "Custom afeb9260 board") | 211 | MACHINE_START(AFEB9260, "Custom afeb9260 board") |
212 | /* Maintainer: Sergey Lapin <slapin@ossfans.org> */ | 212 | /* Maintainer: Sergey Lapin <slapin@ossfans.org> */ |
213 | .timer = &at91sam926x_timer, | 213 | .init_time = at91sam926x_pit_init, |
214 | .map_io = at91_map_io, | 214 | .map_io = at91_map_io, |
215 | .handle_irq = at91_aic_handle_irq, | 215 | .handle_irq = at91_aic_handle_irq, |
216 | .init_early = afeb9260_init_early, | 216 | .init_early = afeb9260_init_early, |
diff --git a/arch/arm/mach-at91/board-cam60.c b/arch/arm/mach-at91/board-cam60.c index 28a18ce6d914..ade948b82662 100644 --- a/arch/arm/mach-at91/board-cam60.c +++ b/arch/arm/mach-at91/board-cam60.c | |||
@@ -187,7 +187,7 @@ static void __init cam60_board_init(void) | |||
187 | 187 | ||
188 | MACHINE_START(CAM60, "KwikByte CAM60") | 188 | MACHINE_START(CAM60, "KwikByte CAM60") |
189 | /* Maintainer: KwikByte */ | 189 | /* Maintainer: KwikByte */ |
190 | .timer = &at91sam926x_timer, | 190 | .init_time = at91sam926x_pit_init, |
191 | .map_io = at91_map_io, | 191 | .map_io = at91_map_io, |
192 | .handle_irq = at91_aic_handle_irq, | 192 | .handle_irq = at91_aic_handle_irq, |
193 | .init_early = cam60_init_early, | 193 | .init_early = cam60_init_early, |
diff --git a/arch/arm/mach-at91/board-carmeva.c b/arch/arm/mach-at91/board-carmeva.c index c17bb533a949..92983050a9bd 100644 --- a/arch/arm/mach-at91/board-carmeva.c +++ b/arch/arm/mach-at91/board-carmeva.c | |||
@@ -157,7 +157,7 @@ static void __init carmeva_board_init(void) | |||
157 | 157 | ||
158 | MACHINE_START(CARMEVA, "Carmeva") | 158 | MACHINE_START(CARMEVA, "Carmeva") |
159 | /* Maintainer: Conitec Datasystems */ | 159 | /* Maintainer: Conitec Datasystems */ |
160 | .timer = &at91rm9200_timer, | 160 | .init_time = at91rm9200_timer_init, |
161 | .map_io = at91_map_io, | 161 | .map_io = at91_map_io, |
162 | .handle_irq = at91_aic_handle_irq, | 162 | .handle_irq = at91_aic_handle_irq, |
163 | .init_early = carmeva_init_early, | 163 | .init_early = carmeva_init_early, |
diff --git a/arch/arm/mach-at91/board-cpu9krea.c b/arch/arm/mach-at91/board-cpu9krea.c index 847432441ecc..008527efdbcf 100644 --- a/arch/arm/mach-at91/board-cpu9krea.c +++ b/arch/arm/mach-at91/board-cpu9krea.c | |||
@@ -374,7 +374,7 @@ MACHINE_START(CPUAT9260, "Eukrea CPU9260") | |||
374 | MACHINE_START(CPUAT9G20, "Eukrea CPU9G20") | 374 | MACHINE_START(CPUAT9G20, "Eukrea CPU9G20") |
375 | #endif | 375 | #endif |
376 | /* Maintainer: Eric Benard - EUKREA Electromatique */ | 376 | /* Maintainer: Eric Benard - EUKREA Electromatique */ |
377 | .timer = &at91sam926x_timer, | 377 | .init_time = at91sam926x_pit_init, |
378 | .map_io = at91_map_io, | 378 | .map_io = at91_map_io, |
379 | .handle_irq = at91_aic_handle_irq, | 379 | .handle_irq = at91_aic_handle_irq, |
380 | .init_early = cpu9krea_init_early, | 380 | .init_early = cpu9krea_init_early, |
diff --git a/arch/arm/mach-at91/board-cpuat91.c b/arch/arm/mach-at91/board-cpuat91.c index 2a7af7868747..42f1353a4baf 100644 --- a/arch/arm/mach-at91/board-cpuat91.c +++ b/arch/arm/mach-at91/board-cpuat91.c | |||
@@ -178,7 +178,7 @@ static void __init cpuat91_board_init(void) | |||
178 | 178 | ||
179 | MACHINE_START(CPUAT91, "Eukrea") | 179 | MACHINE_START(CPUAT91, "Eukrea") |
180 | /* Maintainer: Eric Benard - EUKREA Electromatique */ | 180 | /* Maintainer: Eric Benard - EUKREA Electromatique */ |
181 | .timer = &at91rm9200_timer, | 181 | .init_time = at91rm9200_timer_init, |
182 | .map_io = at91_map_io, | 182 | .map_io = at91_map_io, |
183 | .handle_irq = at91_aic_handle_irq, | 183 | .handle_irq = at91_aic_handle_irq, |
184 | .init_early = cpuat91_init_early, | 184 | .init_early = cpuat91_init_early, |
diff --git a/arch/arm/mach-at91/board-csb337.c b/arch/arm/mach-at91/board-csb337.c index 48a531e05be3..e5fde215225b 100644 --- a/arch/arm/mach-at91/board-csb337.c +++ b/arch/arm/mach-at91/board-csb337.c | |||
@@ -251,7 +251,7 @@ static void __init csb337_board_init(void) | |||
251 | 251 | ||
252 | MACHINE_START(CSB337, "Cogent CSB337") | 252 | MACHINE_START(CSB337, "Cogent CSB337") |
253 | /* Maintainer: Bill Gatliff */ | 253 | /* Maintainer: Bill Gatliff */ |
254 | .timer = &at91rm9200_timer, | 254 | .init_time = at91rm9200_timer_init, |
255 | .map_io = at91_map_io, | 255 | .map_io = at91_map_io, |
256 | .handle_irq = at91_aic_handle_irq, | 256 | .handle_irq = at91_aic_handle_irq, |
257 | .init_early = csb337_init_early, | 257 | .init_early = csb337_init_early, |
diff --git a/arch/arm/mach-at91/board-csb637.c b/arch/arm/mach-at91/board-csb637.c index ec0f3abd504b..fdf11061c577 100644 --- a/arch/arm/mach-at91/board-csb637.c +++ b/arch/arm/mach-at91/board-csb637.c | |||
@@ -132,7 +132,7 @@ static void __init csb637_board_init(void) | |||
132 | 132 | ||
133 | MACHINE_START(CSB637, "Cogent CSB637") | 133 | MACHINE_START(CSB637, "Cogent CSB637") |
134 | /* Maintainer: Bill Gatliff */ | 134 | /* Maintainer: Bill Gatliff */ |
135 | .timer = &at91rm9200_timer, | 135 | .init_time = at91rm9200_timer_init, |
136 | .map_io = at91_map_io, | 136 | .map_io = at91_map_io, |
137 | .handle_irq = at91_aic_handle_irq, | 137 | .handle_irq = at91_aic_handle_irq, |
138 | .init_early = csb637_init_early, | 138 | .init_early = csb637_init_early, |
diff --git a/arch/arm/mach-at91/board-dt.c b/arch/arm/mach-at91/board-dt.c index 881170ce61dd..8db30132abed 100644 --- a/arch/arm/mach-at91/board-dt.c +++ b/arch/arm/mach-at91/board-dt.c | |||
@@ -49,7 +49,7 @@ static const char *at91_dt_board_compat[] __initdata = { | |||
49 | 49 | ||
50 | DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM (Device Tree)") | 50 | DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM (Device Tree)") |
51 | /* Maintainer: Atmel */ | 51 | /* Maintainer: Atmel */ |
52 | .timer = &at91sam926x_timer, | 52 | .init_time = at91sam926x_pit_init, |
53 | .map_io = at91_map_io, | 53 | .map_io = at91_map_io, |
54 | .handle_irq = at91_aic_handle_irq, | 54 | .handle_irq = at91_aic_handle_irq, |
55 | .init_early = at91_dt_initialize, | 55 | .init_early = at91_dt_initialize, |
diff --git a/arch/arm/mach-at91/board-eb01.c b/arch/arm/mach-at91/board-eb01.c index b489388a6f84..becf0a6a289e 100644 --- a/arch/arm/mach-at91/board-eb01.c +++ b/arch/arm/mach-at91/board-eb01.c | |||
@@ -44,7 +44,7 @@ static void __init at91eb01_init_early(void) | |||
44 | 44 | ||
45 | MACHINE_START(AT91EB01, "Atmel AT91 EB01") | 45 | MACHINE_START(AT91EB01, "Atmel AT91 EB01") |
46 | /* Maintainer: Greg Ungerer <gerg@snapgear.com> */ | 46 | /* Maintainer: Greg Ungerer <gerg@snapgear.com> */ |
47 | .timer = &at91x40_timer, | 47 | .init_time = at91x40_timer_init, |
48 | .handle_irq = at91_aic_handle_irq, | 48 | .handle_irq = at91_aic_handle_irq, |
49 | .init_early = at91eb01_init_early, | 49 | .init_early = at91eb01_init_early, |
50 | .init_irq = at91eb01_init_irq, | 50 | .init_irq = at91eb01_init_irq, |
diff --git a/arch/arm/mach-at91/board-eb9200.c b/arch/arm/mach-at91/board-eb9200.c index 9f5e71c95f05..f9be8161bbfa 100644 --- a/arch/arm/mach-at91/board-eb9200.c +++ b/arch/arm/mach-at91/board-eb9200.c | |||
@@ -116,7 +116,7 @@ static void __init eb9200_board_init(void) | |||
116 | } | 116 | } |
117 | 117 | ||
118 | MACHINE_START(ATEB9200, "Embest ATEB9200") | 118 | MACHINE_START(ATEB9200, "Embest ATEB9200") |
119 | .timer = &at91rm9200_timer, | 119 | .init_time = at91rm9200_timer_init, |
120 | .map_io = at91_map_io, | 120 | .map_io = at91_map_io, |
121 | .handle_irq = at91_aic_handle_irq, | 121 | .handle_irq = at91_aic_handle_irq, |
122 | .init_early = eb9200_init_early, | 122 | .init_early = eb9200_init_early, |
diff --git a/arch/arm/mach-at91/board-ecbat91.c b/arch/arm/mach-at91/board-ecbat91.c index ef69e0ebe949..b2fcd71262ba 100644 --- a/arch/arm/mach-at91/board-ecbat91.c +++ b/arch/arm/mach-at91/board-ecbat91.c | |||
@@ -181,7 +181,7 @@ static void __init ecb_at91board_init(void) | |||
181 | 181 | ||
182 | MACHINE_START(ECBAT91, "emQbit's ECB_AT91") | 182 | MACHINE_START(ECBAT91, "emQbit's ECB_AT91") |
183 | /* Maintainer: emQbit.com */ | 183 | /* Maintainer: emQbit.com */ |
184 | .timer = &at91rm9200_timer, | 184 | .init_time = at91rm9200_timer_init, |
185 | .map_io = at91_map_io, | 185 | .map_io = at91_map_io, |
186 | .handle_irq = at91_aic_handle_irq, | 186 | .handle_irq = at91_aic_handle_irq, |
187 | .init_early = ecb_at91init_early, | 187 | .init_early = ecb_at91init_early, |
diff --git a/arch/arm/mach-at91/board-eco920.c b/arch/arm/mach-at91/board-eco920.c index 50f3d3795c05..77de410efc90 100644 --- a/arch/arm/mach-at91/board-eco920.c +++ b/arch/arm/mach-at91/board-eco920.c | |||
@@ -149,7 +149,7 @@ static void __init eco920_board_init(void) | |||
149 | 149 | ||
150 | MACHINE_START(ECO920, "eco920") | 150 | MACHINE_START(ECO920, "eco920") |
151 | /* Maintainer: Sascha Hauer */ | 151 | /* Maintainer: Sascha Hauer */ |
152 | .timer = &at91rm9200_timer, | 152 | .init_time = at91rm9200_timer_init, |
153 | .map_io = at91_map_io, | 153 | .map_io = at91_map_io, |
154 | .handle_irq = at91_aic_handle_irq, | 154 | .handle_irq = at91_aic_handle_irq, |
155 | .init_early = eco920_init_early, | 155 | .init_early = eco920_init_early, |
diff --git a/arch/arm/mach-at91/board-flexibity.c b/arch/arm/mach-at91/board-flexibity.c index 5d44eba0f20f..737c08563628 100644 --- a/arch/arm/mach-at91/board-flexibity.c +++ b/arch/arm/mach-at91/board-flexibity.c | |||
@@ -159,7 +159,7 @@ static void __init flexibity_board_init(void) | |||
159 | 159 | ||
160 | MACHINE_START(FLEXIBITY, "Flexibity Connect") | 160 | MACHINE_START(FLEXIBITY, "Flexibity Connect") |
161 | /* Maintainer: Maxim Osipov */ | 161 | /* Maintainer: Maxim Osipov */ |
162 | .timer = &at91sam926x_timer, | 162 | .init_time = at91sam926x_pit_init, |
163 | .map_io = at91_map_io, | 163 | .map_io = at91_map_io, |
164 | .handle_irq = at91_aic_handle_irq, | 164 | .handle_irq = at91_aic_handle_irq, |
165 | .init_early = flexibity_init_early, | 165 | .init_early = flexibity_init_early, |
diff --git a/arch/arm/mach-at91/board-foxg20.c b/arch/arm/mach-at91/board-foxg20.c index 191d37c16bab..2ea7059b840b 100644 --- a/arch/arm/mach-at91/board-foxg20.c +++ b/arch/arm/mach-at91/board-foxg20.c | |||
@@ -261,7 +261,7 @@ static void __init foxg20_board_init(void) | |||
261 | 261 | ||
262 | MACHINE_START(ACMENETUSFOXG20, "Acme Systems srl FOX Board G20") | 262 | MACHINE_START(ACMENETUSFOXG20, "Acme Systems srl FOX Board G20") |
263 | /* Maintainer: Sergio Tanzilli */ | 263 | /* Maintainer: Sergio Tanzilli */ |
264 | .timer = &at91sam926x_timer, | 264 | .init_time = at91sam926x_pit_init, |
265 | .map_io = at91_map_io, | 265 | .map_io = at91_map_io, |
266 | .handle_irq = at91_aic_handle_irq, | 266 | .handle_irq = at91_aic_handle_irq, |
267 | .init_early = foxg20_init_early, | 267 | .init_early = foxg20_init_early, |
diff --git a/arch/arm/mach-at91/board-gsia18s.c b/arch/arm/mach-at91/board-gsia18s.c index 23a2fa17ab29..c1d61d247790 100644 --- a/arch/arm/mach-at91/board-gsia18s.c +++ b/arch/arm/mach-at91/board-gsia18s.c | |||
@@ -574,7 +574,7 @@ static void __init gsia18s_board_init(void) | |||
574 | } | 574 | } |
575 | 575 | ||
576 | MACHINE_START(GSIA18S, "GS_IA18_S") | 576 | MACHINE_START(GSIA18S, "GS_IA18_S") |
577 | .timer = &at91sam926x_timer, | 577 | .init_time = at91sam926x_pit_init, |
578 | .map_io = at91_map_io, | 578 | .map_io = at91_map_io, |
579 | .handle_irq = at91_aic_handle_irq, | 579 | .handle_irq = at91_aic_handle_irq, |
580 | .init_early = gsia18s_init_early, | 580 | .init_early = gsia18s_init_early, |
diff --git a/arch/arm/mach-at91/board-kafa.c b/arch/arm/mach-at91/board-kafa.c index 9a43d1e1a037..88e2f5d2d16d 100644 --- a/arch/arm/mach-at91/board-kafa.c +++ b/arch/arm/mach-at91/board-kafa.c | |||
@@ -103,7 +103,7 @@ static void __init kafa_board_init(void) | |||
103 | 103 | ||
104 | MACHINE_START(KAFA, "Sperry-Sun KAFA") | 104 | MACHINE_START(KAFA, "Sperry-Sun KAFA") |
105 | /* Maintainer: Sergei Sharonov */ | 105 | /* Maintainer: Sergei Sharonov */ |
106 | .timer = &at91rm9200_timer, | 106 | .init_time = at91rm9200_timer_init, |
107 | .map_io = at91_map_io, | 107 | .map_io = at91_map_io, |
108 | .handle_irq = at91_aic_handle_irq, | 108 | .handle_irq = at91_aic_handle_irq, |
109 | .init_early = kafa_init_early, | 109 | .init_early = kafa_init_early, |
diff --git a/arch/arm/mach-at91/board-kb9202.c b/arch/arm/mach-at91/board-kb9202.c index f168bec2369f..0c519d9ebffc 100644 --- a/arch/arm/mach-at91/board-kb9202.c +++ b/arch/arm/mach-at91/board-kb9202.c | |||
@@ -149,7 +149,7 @@ static void __init kb9202_board_init(void) | |||
149 | 149 | ||
150 | MACHINE_START(KB9200, "KB920x") | 150 | MACHINE_START(KB9200, "KB920x") |
151 | /* Maintainer: KwikByte, Inc. */ | 151 | /* Maintainer: KwikByte, Inc. */ |
152 | .timer = &at91rm9200_timer, | 152 | .init_time = at91rm9200_timer_init, |
153 | .map_io = at91_map_io, | 153 | .map_io = at91_map_io, |
154 | .handle_irq = at91_aic_handle_irq, | 154 | .handle_irq = at91_aic_handle_irq, |
155 | .init_early = kb9202_init_early, | 155 | .init_early = kb9202_init_early, |
diff --git a/arch/arm/mach-at91/board-neocore926.c b/arch/arm/mach-at91/board-neocore926.c index bc7a1c4a1f6a..5b4760fe53de 100644 --- a/arch/arm/mach-at91/board-neocore926.c +++ b/arch/arm/mach-at91/board-neocore926.c | |||
@@ -378,7 +378,7 @@ static void __init neocore926_board_init(void) | |||
378 | 378 | ||
379 | MACHINE_START(NEOCORE926, "ADENEO NEOCORE 926") | 379 | MACHINE_START(NEOCORE926, "ADENEO NEOCORE 926") |
380 | /* Maintainer: ADENEO */ | 380 | /* Maintainer: ADENEO */ |
381 | .timer = &at91sam926x_timer, | 381 | .init_time = at91sam926x_pit_init, |
382 | .map_io = at91_map_io, | 382 | .map_io = at91_map_io, |
383 | .handle_irq = at91_aic_handle_irq, | 383 | .handle_irq = at91_aic_handle_irq, |
384 | .init_early = neocore926_init_early, | 384 | .init_early = neocore926_init_early, |
diff --git a/arch/arm/mach-at91/board-pcontrol-g20.c b/arch/arm/mach-at91/board-pcontrol-g20.c index 0299554495dd..65c0d6b5ecba 100644 --- a/arch/arm/mach-at91/board-pcontrol-g20.c +++ b/arch/arm/mach-at91/board-pcontrol-g20.c | |||
@@ -217,7 +217,7 @@ static void __init pcontrol_g20_board_init(void) | |||
217 | 217 | ||
218 | MACHINE_START(PCONTROL_G20, "PControl G20") | 218 | MACHINE_START(PCONTROL_G20, "PControl G20") |
219 | /* Maintainer: pgsellmann@portner-elektronik.at */ | 219 | /* Maintainer: pgsellmann@portner-elektronik.at */ |
220 | .timer = &at91sam926x_timer, | 220 | .init_time = at91sam926x_pit_init, |
221 | .map_io = at91_map_io, | 221 | .map_io = at91_map_io, |
222 | .handle_irq = at91_aic_handle_irq, | 222 | .handle_irq = at91_aic_handle_irq, |
223 | .init_early = pcontrol_g20_init_early, | 223 | .init_early = pcontrol_g20_init_early, |
diff --git a/arch/arm/mach-at91/board-picotux200.c b/arch/arm/mach-at91/board-picotux200.c index 4938f1cd5e13..ab2b2ec36c14 100644 --- a/arch/arm/mach-at91/board-picotux200.c +++ b/arch/arm/mach-at91/board-picotux200.c | |||
@@ -119,7 +119,7 @@ static void __init picotux200_board_init(void) | |||
119 | 119 | ||
120 | MACHINE_START(PICOTUX2XX, "picotux 200") | 120 | MACHINE_START(PICOTUX2XX, "picotux 200") |
121 | /* Maintainer: Kleinhenz Elektronik GmbH */ | 121 | /* Maintainer: Kleinhenz Elektronik GmbH */ |
122 | .timer = &at91rm9200_timer, | 122 | .init_time = at91rm9200_timer_init, |
123 | .map_io = at91_map_io, | 123 | .map_io = at91_map_io, |
124 | .handle_irq = at91_aic_handle_irq, | 124 | .handle_irq = at91_aic_handle_irq, |
125 | .init_early = picotux200_init_early, | 125 | .init_early = picotux200_init_early, |
diff --git a/arch/arm/mach-at91/board-qil-a9260.c b/arch/arm/mach-at91/board-qil-a9260.c index 33b1628467ea..aa3bc9b0f150 100644 --- a/arch/arm/mach-at91/board-qil-a9260.c +++ b/arch/arm/mach-at91/board-qil-a9260.c | |||
@@ -257,7 +257,7 @@ static void __init ek_board_init(void) | |||
257 | 257 | ||
258 | MACHINE_START(QIL_A9260, "CALAO QIL_A9260") | 258 | MACHINE_START(QIL_A9260, "CALAO QIL_A9260") |
259 | /* Maintainer: calao-systems */ | 259 | /* Maintainer: calao-systems */ |
260 | .timer = &at91sam926x_timer, | 260 | .init_time = at91sam926x_pit_init, |
261 | .map_io = at91_map_io, | 261 | .map_io = at91_map_io, |
262 | .handle_irq = at91_aic_handle_irq, | 262 | .handle_irq = at91_aic_handle_irq, |
263 | .init_early = ek_init_early, | 263 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-rm9200dk.c b/arch/arm/mach-at91/board-rm9200dk.c index 9e5061bef0d0..690541b18cbc 100644 --- a/arch/arm/mach-at91/board-rm9200dk.c +++ b/arch/arm/mach-at91/board-rm9200dk.c | |||
@@ -219,7 +219,7 @@ static void __init dk_board_init(void) | |||
219 | 219 | ||
220 | MACHINE_START(AT91RM9200DK, "Atmel AT91RM9200-DK") | 220 | MACHINE_START(AT91RM9200DK, "Atmel AT91RM9200-DK") |
221 | /* Maintainer: SAN People/Atmel */ | 221 | /* Maintainer: SAN People/Atmel */ |
222 | .timer = &at91rm9200_timer, | 222 | .init_time = at91rm9200_timer_init, |
223 | .map_io = at91_map_io, | 223 | .map_io = at91_map_io, |
224 | .handle_irq = at91_aic_handle_irq, | 224 | .handle_irq = at91_aic_handle_irq, |
225 | .init_early = dk_init_early, | 225 | .init_early = dk_init_early, |
diff --git a/arch/arm/mach-at91/board-rm9200ek.c b/arch/arm/mach-at91/board-rm9200ek.c index 58277dbc718f..8b17dadc1aba 100644 --- a/arch/arm/mach-at91/board-rm9200ek.c +++ b/arch/arm/mach-at91/board-rm9200ek.c | |||
@@ -186,7 +186,7 @@ static void __init ek_board_init(void) | |||
186 | 186 | ||
187 | MACHINE_START(AT91RM9200EK, "Atmel AT91RM9200-EK") | 187 | MACHINE_START(AT91RM9200EK, "Atmel AT91RM9200-EK") |
188 | /* Maintainer: SAN People/Atmel */ | 188 | /* Maintainer: SAN People/Atmel */ |
189 | .timer = &at91rm9200_timer, | 189 | .init_time = at91rm9200_timer_init, |
190 | .map_io = at91_map_io, | 190 | .map_io = at91_map_io, |
191 | .handle_irq = at91_aic_handle_irq, | 191 | .handle_irq = at91_aic_handle_irq, |
192 | .init_early = ek_init_early, | 192 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-rsi-ews.c b/arch/arm/mach-at91/board-rsi-ews.c index 2e8b8339a206..f6d7f1958c7e 100644 --- a/arch/arm/mach-at91/board-rsi-ews.c +++ b/arch/arm/mach-at91/board-rsi-ews.c | |||
@@ -222,7 +222,7 @@ static void __init rsi_ews_board_init(void) | |||
222 | 222 | ||
223 | MACHINE_START(RSI_EWS, "RSI EWS") | 223 | MACHINE_START(RSI_EWS, "RSI EWS") |
224 | /* Maintainer: Josef Holzmayr <holzmayr@rsi-elektrotechnik.de> */ | 224 | /* Maintainer: Josef Holzmayr <holzmayr@rsi-elektrotechnik.de> */ |
225 | .timer = &at91rm9200_timer, | 225 | .init_time = at91rm9200_timer_init, |
226 | .map_io = at91_map_io, | 226 | .map_io = at91_map_io, |
227 | .handle_irq = at91_aic_handle_irq, | 227 | .handle_irq = at91_aic_handle_irq, |
228 | .init_early = rsi_ews_init_early, | 228 | .init_early = rsi_ews_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9-l9260.c b/arch/arm/mach-at91/board-sam9-l9260.c index b75fbf6003a1..43ee4dc43b50 100644 --- a/arch/arm/mach-at91/board-sam9-l9260.c +++ b/arch/arm/mach-at91/board-sam9-l9260.c | |||
@@ -218,7 +218,7 @@ static void __init ek_board_init(void) | |||
218 | 218 | ||
219 | MACHINE_START(SAM9_L9260, "Olimex SAM9-L9260") | 219 | MACHINE_START(SAM9_L9260, "Olimex SAM9-L9260") |
220 | /* Maintainer: Olimex */ | 220 | /* Maintainer: Olimex */ |
221 | .timer = &at91sam926x_timer, | 221 | .init_time = at91sam926x_pit_init, |
222 | .map_io = at91_map_io, | 222 | .map_io = at91_map_io, |
223 | .handle_irq = at91_aic_handle_irq, | 223 | .handle_irq = at91_aic_handle_irq, |
224 | .init_early = ek_init_early, | 224 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c index f0135cd1d858..0b153c87521d 100644 --- a/arch/arm/mach-at91/board-sam9260ek.c +++ b/arch/arm/mach-at91/board-sam9260ek.c | |||
@@ -343,7 +343,7 @@ static void __init ek_board_init(void) | |||
343 | 343 | ||
344 | MACHINE_START(AT91SAM9260EK, "Atmel AT91SAM9260-EK") | 344 | MACHINE_START(AT91SAM9260EK, "Atmel AT91SAM9260-EK") |
345 | /* Maintainer: Atmel */ | 345 | /* Maintainer: Atmel */ |
346 | .timer = &at91sam926x_timer, | 346 | .init_time = at91sam926x_pit_init, |
347 | .map_io = at91_map_io, | 347 | .map_io = at91_map_io, |
348 | .handle_irq = at91_aic_handle_irq, | 348 | .handle_irq = at91_aic_handle_irq, |
349 | .init_early = ek_init_early, | 349 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 13ebaa8e4100..b446645c7727 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -612,7 +612,7 @@ MACHINE_START(AT91SAM9261EK, "Atmel AT91SAM9261-EK") | |||
612 | MACHINE_START(AT91SAM9G10EK, "Atmel AT91SAM9G10-EK") | 612 | MACHINE_START(AT91SAM9G10EK, "Atmel AT91SAM9G10-EK") |
613 | #endif | 613 | #endif |
614 | /* Maintainer: Atmel */ | 614 | /* Maintainer: Atmel */ |
615 | .timer = &at91sam926x_timer, | 615 | .init_time = at91sam926x_pit_init, |
616 | .map_io = at91_map_io, | 616 | .map_io = at91_map_io, |
617 | .handle_irq = at91_aic_handle_irq, | 617 | .handle_irq = at91_aic_handle_irq, |
618 | .init_early = ek_init_early, | 618 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index 89b9608742a7..3284df05df14 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c | |||
@@ -443,7 +443,7 @@ static void __init ek_board_init(void) | |||
443 | 443 | ||
444 | MACHINE_START(AT91SAM9263EK, "Atmel AT91SAM9263-EK") | 444 | MACHINE_START(AT91SAM9263EK, "Atmel AT91SAM9263-EK") |
445 | /* Maintainer: Atmel */ | 445 | /* Maintainer: Atmel */ |
446 | .timer = &at91sam926x_timer, | 446 | .init_time = at91sam926x_pit_init, |
447 | .map_io = at91_map_io, | 447 | .map_io = at91_map_io, |
448 | .handle_irq = at91_aic_handle_irq, | 448 | .handle_irq = at91_aic_handle_irq, |
449 | .init_early = ek_init_early, | 449 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 1b7dd9f688d3..f9cd1f2c7146 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -409,7 +409,7 @@ static void __init ek_board_init(void) | |||
409 | 409 | ||
410 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") | 410 | MACHINE_START(AT91SAM9G20EK, "Atmel AT91SAM9G20-EK") |
411 | /* Maintainer: Atmel */ | 411 | /* Maintainer: Atmel */ |
412 | .timer = &at91sam926x_timer, | 412 | .init_time = at91sam926x_pit_init, |
413 | .map_io = at91_map_io, | 413 | .map_io = at91_map_io, |
414 | .handle_irq = at91_aic_handle_irq, | 414 | .handle_irq = at91_aic_handle_irq, |
415 | .init_early = ek_init_early, | 415 | .init_early = ek_init_early, |
@@ -419,7 +419,7 @@ MACHINE_END | |||
419 | 419 | ||
420 | MACHINE_START(AT91SAM9G20EK_2MMC, "Atmel AT91SAM9G20-EK 2 MMC Slot Mod") | 420 | MACHINE_START(AT91SAM9G20EK_2MMC, "Atmel AT91SAM9G20-EK 2 MMC Slot Mod") |
421 | /* Maintainer: Atmel */ | 421 | /* Maintainer: Atmel */ |
422 | .timer = &at91sam926x_timer, | 422 | .init_time = at91sam926x_pit_init, |
423 | .map_io = at91_map_io, | 423 | .map_io = at91_map_io, |
424 | .handle_irq = at91_aic_handle_irq, | 424 | .handle_irq = at91_aic_handle_irq, |
425 | .init_early = ek_init_early, | 425 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9m10g45ek.c b/arch/arm/mach-at91/board-sam9m10g45ek.c index e4cc375e3a32..2a94896a1375 100644 --- a/arch/arm/mach-at91/board-sam9m10g45ek.c +++ b/arch/arm/mach-at91/board-sam9m10g45ek.c | |||
@@ -502,7 +502,7 @@ static void __init ek_board_init(void) | |||
502 | 502 | ||
503 | MACHINE_START(AT91SAM9M10G45EK, "Atmel AT91SAM9M10G45-EK") | 503 | MACHINE_START(AT91SAM9M10G45EK, "Atmel AT91SAM9M10G45-EK") |
504 | /* Maintainer: Atmel */ | 504 | /* Maintainer: Atmel */ |
505 | .timer = &at91sam926x_timer, | 505 | .init_time = at91sam926x_pit_init, |
506 | .map_io = at91_map_io, | 506 | .map_io = at91_map_io, |
507 | .handle_irq = at91_aic_handle_irq, | 507 | .handle_irq = at91_aic_handle_irq, |
508 | .init_early = ek_init_early, | 508 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index 377a1097afa7..aa265dcf2128 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
@@ -320,7 +320,7 @@ static void __init ek_board_init(void) | |||
320 | 320 | ||
321 | MACHINE_START(AT91SAM9RLEK, "Atmel AT91SAM9RL-EK") | 321 | MACHINE_START(AT91SAM9RLEK, "Atmel AT91SAM9RL-EK") |
322 | /* Maintainer: Atmel */ | 322 | /* Maintainer: Atmel */ |
323 | .timer = &at91sam926x_timer, | 323 | .init_time = at91sam926x_pit_init, |
324 | .map_io = at91_map_io, | 324 | .map_io = at91_map_io, |
325 | .handle_irq = at91_aic_handle_irq, | 325 | .handle_irq = at91_aic_handle_irq, |
326 | .init_early = ek_init_early, | 326 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-snapper9260.c b/arch/arm/mach-at91/board-snapper9260.c index 98771500ddb9..3aaa9784cf0e 100644 --- a/arch/arm/mach-at91/board-snapper9260.c +++ b/arch/arm/mach-at91/board-snapper9260.c | |||
@@ -177,7 +177,7 @@ static void __init snapper9260_board_init(void) | |||
177 | } | 177 | } |
178 | 178 | ||
179 | MACHINE_START(SNAPPER_9260, "Bluewater Systems Snapper 9260/9G20 module") | 179 | MACHINE_START(SNAPPER_9260, "Bluewater Systems Snapper 9260/9G20 module") |
180 | .timer = &at91sam926x_timer, | 180 | .init_time = at91sam926x_pit_init, |
181 | .map_io = at91_map_io, | 181 | .map_io = at91_map_io, |
182 | .handle_irq = at91_aic_handle_irq, | 182 | .handle_irq = at91_aic_handle_irq, |
183 | .init_early = snapper9260_init_early, | 183 | .init_early = snapper9260_init_early, |
diff --git a/arch/arm/mach-at91/board-stamp9g20.c b/arch/arm/mach-at91/board-stamp9g20.c index 48a962b61fa3..a033b8df9fb2 100644 --- a/arch/arm/mach-at91/board-stamp9g20.c +++ b/arch/arm/mach-at91/board-stamp9g20.c | |||
@@ -272,7 +272,7 @@ static void __init stamp9g20evb_board_init(void) | |||
272 | 272 | ||
273 | MACHINE_START(PORTUXG20, "taskit PortuxG20") | 273 | MACHINE_START(PORTUXG20, "taskit PortuxG20") |
274 | /* Maintainer: taskit GmbH */ | 274 | /* Maintainer: taskit GmbH */ |
275 | .timer = &at91sam926x_timer, | 275 | .init_time = at91sam926x_pit_init, |
276 | .map_io = at91_map_io, | 276 | .map_io = at91_map_io, |
277 | .handle_irq = at91_aic_handle_irq, | 277 | .handle_irq = at91_aic_handle_irq, |
278 | .init_early = stamp9g20_init_early, | 278 | .init_early = stamp9g20_init_early, |
@@ -282,7 +282,7 @@ MACHINE_END | |||
282 | 282 | ||
283 | MACHINE_START(STAMP9G20, "taskit Stamp9G20") | 283 | MACHINE_START(STAMP9G20, "taskit Stamp9G20") |
284 | /* Maintainer: taskit GmbH */ | 284 | /* Maintainer: taskit GmbH */ |
285 | .timer = &at91sam926x_timer, | 285 | .init_time = at91sam926x_pit_init, |
286 | .map_io = at91_map_io, | 286 | .map_io = at91_map_io, |
287 | .handle_irq = at91_aic_handle_irq, | 287 | .handle_irq = at91_aic_handle_irq, |
288 | .init_early = stamp9g20_init_early, | 288 | .init_early = stamp9g20_init_early, |
diff --git a/arch/arm/mach-at91/board-usb-a926x.c b/arch/arm/mach-at91/board-usb-a926x.c index c1060f96e589..2487d944a1bc 100644 --- a/arch/arm/mach-at91/board-usb-a926x.c +++ b/arch/arm/mach-at91/board-usb-a926x.c | |||
@@ -355,7 +355,7 @@ static void __init ek_board_init(void) | |||
355 | 355 | ||
356 | MACHINE_START(USB_A9263, "CALAO USB_A9263") | 356 | MACHINE_START(USB_A9263, "CALAO USB_A9263") |
357 | /* Maintainer: calao-systems */ | 357 | /* Maintainer: calao-systems */ |
358 | .timer = &at91sam926x_timer, | 358 | .init_time = at91sam926x_pit_init, |
359 | .map_io = at91_map_io, | 359 | .map_io = at91_map_io, |
360 | .handle_irq = at91_aic_handle_irq, | 360 | .handle_irq = at91_aic_handle_irq, |
361 | .init_early = ek_init_early, | 361 | .init_early = ek_init_early, |
@@ -365,7 +365,7 @@ MACHINE_END | |||
365 | 365 | ||
366 | MACHINE_START(USB_A9260, "CALAO USB_A9260") | 366 | MACHINE_START(USB_A9260, "CALAO USB_A9260") |
367 | /* Maintainer: calao-systems */ | 367 | /* Maintainer: calao-systems */ |
368 | .timer = &at91sam926x_timer, | 368 | .init_time = at91sam926x_pit_init, |
369 | .map_io = at91_map_io, | 369 | .map_io = at91_map_io, |
370 | .handle_irq = at91_aic_handle_irq, | 370 | .handle_irq = at91_aic_handle_irq, |
371 | .init_early = ek_init_early, | 371 | .init_early = ek_init_early, |
@@ -375,7 +375,7 @@ MACHINE_END | |||
375 | 375 | ||
376 | MACHINE_START(USB_A9G20, "CALAO USB_A92G0") | 376 | MACHINE_START(USB_A9G20, "CALAO USB_A92G0") |
377 | /* Maintainer: Jean-Christophe PLAGNIOL-VILLARD */ | 377 | /* Maintainer: Jean-Christophe PLAGNIOL-VILLARD */ |
378 | .timer = &at91sam926x_timer, | 378 | .init_time = at91sam926x_pit_init, |
379 | .map_io = at91_map_io, | 379 | .map_io = at91_map_io, |
380 | .handle_irq = at91_aic_handle_irq, | 380 | .handle_irq = at91_aic_handle_irq, |
381 | .init_early = ek_init_early, | 381 | .init_early = ek_init_early, |
diff --git a/arch/arm/mach-at91/board-yl-9200.c b/arch/arm/mach-at91/board-yl-9200.c index 8673aebcb85d..be083771df2e 100644 --- a/arch/arm/mach-at91/board-yl-9200.c +++ b/arch/arm/mach-at91/board-yl-9200.c | |||
@@ -587,7 +587,7 @@ static void __init yl9200_board_init(void) | |||
587 | 587 | ||
588 | MACHINE_START(YL9200, "uCdragon YL-9200") | 588 | MACHINE_START(YL9200, "uCdragon YL-9200") |
589 | /* Maintainer: S.Birtles */ | 589 | /* Maintainer: S.Birtles */ |
590 | .timer = &at91rm9200_timer, | 590 | .init_time = at91rm9200_timer_init, |
591 | .map_io = at91_map_io, | 591 | .map_io = at91_map_io, |
592 | .handle_irq = at91_aic_handle_irq, | 592 | .handle_irq = at91_aic_handle_irq, |
593 | .init_early = yl9200_init_early, | 593 | .init_early = yl9200_init_early, |
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h index fc593d615e7d..78ab06548658 100644 --- a/arch/arm/mach-at91/generic.h +++ b/arch/arm/mach-at91/generic.h | |||
@@ -36,12 +36,11 @@ extern int __init at91_aic5_of_init(struct device_node *node, | |||
36 | 36 | ||
37 | 37 | ||
38 | /* Timer */ | 38 | /* Timer */ |
39 | struct sys_timer; | ||
40 | extern void at91rm9200_ioremap_st(u32 addr); | 39 | extern void at91rm9200_ioremap_st(u32 addr); |
41 | extern struct sys_timer at91rm9200_timer; | 40 | extern void at91rm9200_timer_init(void); |
42 | extern void at91sam926x_ioremap_pit(u32 addr); | 41 | extern void at91sam926x_ioremap_pit(u32 addr); |
43 | extern struct sys_timer at91sam926x_timer; | 42 | extern void at91sam926x_pit_init(void); |
44 | extern struct sys_timer at91x40_timer; | 43 | extern void at91x40_timer_init(void); |
45 | 44 | ||
46 | /* Clocks */ | 45 | /* Clocks */ |
47 | #ifdef CONFIG_AT91_PMC_UNIT | 46 | #ifdef CONFIG_AT91_PMC_UNIT |