forked from Imagelibrary/rtems
bfin/bf537Stamp/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
/* bspstart.c for bf537Stamp
|
/* bspstart.c for bf537Stamp
|
||||||
*
|
*
|
||||||
* This routine starts the application. It includes application,
|
* This routine does the bulk of the system initialisation.
|
||||||
* board, and monitor specific initialization and configuration.
|
*/
|
||||||
* The generic CPU dependent initialization has been performed
|
|
||||||
* before this routine is invoked.
|
/*
|
||||||
*
|
|
||||||
* Copyright (c) 2006 by Atos Automacao Industrial Ltda.
|
* Copyright (c) 2006 by Atos Automacao Industrial Ltda.
|
||||||
* written by Alain Schaefer <alain.schaefer@easc.ch>
|
* written by Alain Schaefer <alain.schaefer@easc.ch>
|
||||||
* and Antonio Giovanini <antonio@atos.com.br>
|
* and Antonio Giovanini <antonio@atos.com.br>
|
||||||
@@ -16,6 +15,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
#include <bsp/bootcard.h>
|
||||||
#include <libcpu/bf537.h>
|
#include <libcpu/bf537.h>
|
||||||
#include <libcpu/ebiuRegs.h>
|
#include <libcpu/ebiuRegs.h>
|
||||||
#include <libcpu/gpioRegs.h>
|
#include <libcpu/gpioRegs.h>
|
||||||
@@ -79,11 +79,6 @@ void bsp_pretasking_hook(void)
|
|||||||
bfin_interrupt_init();
|
bfin_interrupt_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* bsp_start
|
|
||||||
*
|
|
||||||
* This routine does the bulk of the BSP initialization.
|
|
||||||
*/
|
|
||||||
void bsp_start(void)
|
void bsp_start(void)
|
||||||
{
|
{
|
||||||
/* BSP Hardware Initialization*/
|
/* BSP Hardware Initialization*/
|
||||||
|
|||||||
Reference in New Issue
Block a user