aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/528x
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-12-23 22:04:05 -0500
committerGreg Ungerer <gerg@uclinux.org>2012-03-04 18:43:09 -0500
commit9773be5f5fcbabb688bf05f85d594261a53a5ac0 (patch)
tree3f31254d709177437a0ce8483ed993157af688ed /arch/m68k/platform/528x
parent2ba168a913192ebe44ca1da06d46f4e13037392f (diff)
m68knommu: clean up init code in ColdFire 528x startup
We can move all the init calls in the initcall code into the more general arch setup code (which is config_BSP() here). That makes the 528x consistent with other ColdFire CPUs setup cod. It means we can get rif of the initcall setup here all together. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/528x')
-rw-r--r--arch/m68k/platform/528x/config.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/m68k/platform/528x/config.c b/arch/m68k/platform/528x/config.c
index 264456ce45dc..98decc6beb34 100644
--- a/arch/m68k/platform/528x/config.c
+++ b/arch/m68k/platform/528x/config.c
@@ -103,12 +103,6 @@ void __init config_BSP(char *commandp, int size)
103#ifdef CONFIG_WILDFIREMOD 103#ifdef CONFIG_WILDFIREMOD
104 mach_halt = wildfiremod_halt; 104 mach_halt = wildfiremod_halt;
105#endif 105#endif
106}
107
108/***************************************************************************/
109
110static int __init init_BSP(void)
111{
112 mach_reset = m528x_cpu_reset; 106 mach_reset = m528x_cpu_reset;
113 mach_sched_init = hw_timer_init; 107 mach_sched_init = hw_timer_init;
114 m528x_uarts_init(); 108 m528x_uarts_init();
@@ -116,9 +110,6 @@ static int __init init_BSP(void)
116#ifdef CONFIG_SPI_COLDFIRE_QSPI 110#ifdef CONFIG_SPI_COLDFIRE_QSPI
117 m528x_qspi_init(); 111 m528x_qspi_init();
118#endif 112#endif
119 return 0;
120} 113}
121 114
122arch_initcall(init_BSP);
123
124/***************************************************************************/ 115/***************************************************************************/