diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/m68k/mrm332/start/bspstart.c (renamed from c/src/lib/libbsp/m68k/mrm332/startup/bsppredriverhook.c) | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/m68k/mrm332/startup/bsppredriverhook.c b/bsps/m68k/mrm332/start/bspstart.c index 004a7052e0..285f34de9d 100644 --- a/c/src/lib/libbsp/m68k/mrm332/startup/bsppredriverhook.c +++ b/bsps/m68k/mrm332/start/bspstart.c @@ -9,14 +9,20 @@ #include <bsp.h> #include <bsp/bootcard.h> +#include <rtems/sysinit.h> extern void Spurious_Initialize(void); /* - * Call Spurious_Initialize in bsp_predriver_hook because - * bsp_predriver_hook is call after the _ISR_Vector_Table allocation + * Must be called after the _ISR_Vector_Table allocation */ -void bsp_predriver_hook(void) +RTEMS_SYSINIT_ITEM( + Spurious_Initialize, + RTEMS_SYSINIT_BSP_PRE_DRIVERS, + RTEMS_SYSINIT_ORDER_MIDDLE +); + +void bsp_start(void) { - Spurious_Initialize(); + /* Nothing to do */ } |