summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/motorola_powerpc/start/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/motorola_powerpc/start/bspstart.c')
-rw-r--r--bsps/powerpc/motorola_powerpc/start/bspstart.c19
1 files changed, 12 insertions, 7 deletions
diff --git a/bsps/powerpc/motorola_powerpc/start/bspstart.c b/bsps/powerpc/motorola_powerpc/start/bspstart.c
index 810db21dce..c28d5d21b5 100644
--- a/bsps/powerpc/motorola_powerpc/start/bspstart.c
+++ b/bsps/powerpc/motorola_powerpc/start/bspstart.c
@@ -124,13 +124,7 @@ uint32_t _CPU_Counter_frequency(void)
return BSP_bus_frequency / (BSP_time_base_divisor / 1000);
}
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialization.
- */
-
-void bsp_start( void )
+static void bsp_early( void )
{
#if !defined(mvme2100)
unsigned l2cr;
@@ -368,6 +362,17 @@ void bsp_start( void )
}
RTEMS_SYSINIT_ITEM(
+ bsp_early,
+ RTEMS_SYSINIT_BSP_EARLY,
+ RTEMS_SYSINIT_ORDER_MIDDLE
+);
+
+void bsp_start( void )
+{
+ /* Initialization was done by bsp_early() */
+}
+
+RTEMS_SYSINIT_ITEM(
BSP_vme_config,
RTEMS_SYSINIT_BSP_PRE_DRIVERS,
RTEMS_SYSINIT_ORDER_MIDDLE