aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-02-11 04:23:19 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-02-11 12:37:33 -0500
commite134fb2b40ca7e2d96ba460b0c844c6a9fa489c3 (patch)
treee124e8af68ec3ca6c01b9ed41e03ea9952fdaaca /arch/arm/mach-mx5
parent4bd597b633ae630e09d58957bd99870eac35fcb4 (diff)
ARM: mx3+mx5: rename mxc_board_init to ${machine}_init
mxc_board_init is too generic to be useful. Additionally change some mxc_timer to ${machine}_timer, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r--arch/arm/mach-mx5/board-mx51_3ds.c10
-rw-r--r--arch/arm/mach-mx5/board-mx51_babbage.c10
-rw-r--r--arch/arm/mach-mx5/board-mx51_efikamx.c10
3 files changed, 15 insertions, 15 deletions
diff --git a/arch/arm/mach-mx5/board-mx51_3ds.c b/arch/arm/mach-mx5/board-mx51_3ds.c
index 01684708ef34..63dfbeafbc1e 100644
--- a/arch/arm/mach-mx5/board-mx51_3ds.c
+++ b/arch/arm/mach-mx5/board-mx51_3ds.c
@@ -133,7 +133,7 @@ static struct spi_board_info mx51_3ds_spi_nor_device[] = {
133/* 133/*
134 * Board specific initialization. 134 * Board specific initialization.
135 */ 135 */
136static void __init mxc_board_init(void) 136static void __init mx51_3ds_init(void)
137{ 137{
138 mxc_iomux_v3_setup_multiple_pads(mx51_3ds_pads, 138 mxc_iomux_v3_setup_multiple_pads(mx51_3ds_pads,
139 ARRAY_SIZE(mx51_3ds_pads)); 139 ARRAY_SIZE(mx51_3ds_pads));
@@ -160,8 +160,8 @@ 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
163static struct sys_timer mxc_timer = { 163static struct sys_timer mx51_3ds_timer = {
164 .init = mx51_3ds_timer_init, 164 .init = mx51_3ds_timer_init,
165}; 165};
166 166
167MACHINE_START(MX51_3DS, "Freescale MX51 3-Stack Board") 167MACHINE_START(MX51_3DS, "Freescale MX51 3-Stack Board")
@@ -170,6 +170,6 @@ MACHINE_START(MX51_3DS, "Freescale MX51 3-Stack Board")
170 .map_io = mx51_map_io, 170 .map_io = mx51_map_io,
171 .init_early = imx51_init_early, 171 .init_early = imx51_init_early,
172 .init_irq = mx51_init_irq, 172 .init_irq = mx51_init_irq,
173 .timer = &mxc_timer, 173 .timer = &mx51_3ds_timer,
174 .init_machine = mxc_board_init, 174 .init_machine = mx51_3ds_init,
175MACHINE_END 175MACHINE_END
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c
index 7874bcd41db5..b2ecd194e76d 100644
--- a/arch/arm/mach-mx5/board-mx51_babbage.c
+++ b/arch/arm/mach-mx5/board-mx51_babbage.c
@@ -341,7 +341,7 @@ static const struct spi_imx_master mx51_babbage_spi_pdata __initconst = {
341/* 341/*
342 * Board specific initialization. 342 * Board specific initialization.
343 */ 343 */
344static void __init mxc_board_init(void) 344static void __init mx51_babbage_init(void)
345{ 345{
346 iomux_v3_cfg_t usbh1stp = MX51_PAD_USBH1_STP__USBH1_STP; 346 iomux_v3_cfg_t usbh1stp = MX51_PAD_USBH1_STP__USBH1_STP;
347 iomux_v3_cfg_t power_key = _MX51_PAD_EIM_A27__GPIO2_21 | 347 iomux_v3_cfg_t power_key = _MX51_PAD_EIM_A27__GPIO2_21 |
@@ -395,8 +395,8 @@ static void __init mx51_babbage_timer_init(void)
395 mx51_clocks_init(32768, 24000000, 22579200, 0); 395 mx51_clocks_init(32768, 24000000, 22579200, 0);
396} 396}
397 397
398static struct sys_timer mxc_timer = { 398static struct sys_timer mx51_babbage_timer = {
399 .init = mx51_babbage_timer_init, 399 .init = mx51_babbage_timer_init,
400}; 400};
401 401
402MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board") 402MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board")
@@ -405,6 +405,6 @@ MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board")
405 .map_io = mx51_map_io, 405 .map_io = mx51_map_io,
406 .init_early = imx51_init_early, 406 .init_early = imx51_init_early,
407 .init_irq = mx51_init_irq, 407 .init_irq = mx51_init_irq,
408 .timer = &mxc_timer, 408 .timer = &mx51_babbage_timer,
409 .init_machine = mxc_board_init, 409 .init_machine = mx51_babbage_init,
410MACHINE_END 410MACHINE_END
diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c
index b0fa55327c37..c4094fa5794f 100644
--- a/arch/arm/mach-mx5/board-mx51_efikamx.c
+++ b/arch/arm/mach-mx5/board-mx51_efikamx.c
@@ -303,7 +303,7 @@ void mx51_efikamx_reset(void)
303 gpio_direction_output(EFIKAMX_RESET, 0); 303 gpio_direction_output(EFIKAMX_RESET, 0);
304} 304}
305 305
306static void __init mxc_board_init(void) 306static void __init mx51_efikamx_init(void)
307{ 307{
308 mxc_iomux_v3_setup_multiple_pads(mx51efikamx_pads, 308 mxc_iomux_v3_setup_multiple_pads(mx51efikamx_pads,
309 ARRAY_SIZE(mx51efikamx_pads)); 309 ARRAY_SIZE(mx51efikamx_pads));
@@ -341,8 +341,8 @@ static void __init mx51_efikamx_timer_init(void)
341 mx51_clocks_init(32768, 24000000, 22579200, 24576000); 341 mx51_clocks_init(32768, 24000000, 22579200, 24576000);
342} 342}
343 343
344static struct sys_timer mxc_timer = { 344static struct sys_timer mx51_efikamx_timer = {
345 .init = mx51_efikamx_timer_init, 345 .init = mx51_efikamx_timer_init,
346}; 346};
347 347
348MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop") 348MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
@@ -351,6 +351,6 @@ MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
351 .map_io = mx51_map_io, 351 .map_io = mx51_map_io,
352 .init_early = imx51_init_early, 352 .init_early = imx51_init_early,
353 .init_irq = mx51_init_irq, 353 .init_irq = mx51_init_irq,
354 .timer = &mxc_timer, 354 .timer = &mx51_efikamx_timer,
355 .init_machine = mxc_board_init, 355 .init_machine = mx51_efikamx_init,
356MACHINE_END 356MACHINE_END