aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/532x/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/platform/532x/config.c')
-rw-r--r--arch/m68k/platform/532x/config.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/arch/m68k/platform/532x/config.c b/arch/m68k/platform/532x/config.c
index 8c0dd5caae97..56b21fd84b3f 100644
--- a/arch/m68k/platform/532x/config.c
+++ b/arch/m68k/platform/532x/config.c
@@ -83,6 +83,12 @@ void __init config_BSP(char *commandp, int size)
83#endif 83#endif
84 84
85 mach_sched_init = hw_timer_init; 85 mach_sched_init = hw_timer_init;
86 mach_reset = m532x_cpu_reset;
87 m532x_uarts_init();
88 m532x_fec_init();
89#ifdef CONFIG_SPI_COLDFIRE_QSPI
90 m532x_qspi_init();
91#endif
86 92
87#ifdef CONFIG_BDM_DISABLE 93#ifdef CONFIG_BDM_DISABLE
88 /* 94 /*
@@ -95,20 +101,6 @@ void __init config_BSP(char *commandp, int size)
95} 101}
96 102
97/***************************************************************************/ 103/***************************************************************************/
98
99static int __init init_BSP(void)
100{
101 m532x_uarts_init();
102 m532x_fec_init();
103#ifdef CONFIG_SPI_COLDFIRE_QSPI
104 m532x_qspi_init();
105#endif
106 return 0;
107}
108
109arch_initcall(init_BSP);
110
111/***************************************************************************/
112/* Board initialization */ 104/* Board initialization */
113/***************************************************************************/ 105/***************************************************************************/
114/* 106/*