summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-07 17:22:02 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:55 -0500
commit7307eb148abfa146dbc367a4af3658c4680944ae (patch)
treed446b71e675cfd87a6f9da86b279a448d991f716
parentarm/gba/startup/bspgetworkarea.c: Fix warning (diff)
downloadrtems-7307eb148abfa146dbc367a4af3658c4680944ae.tar.bz2
bfin/bf537Stamp/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up
-rw-r--r--c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c b/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c
index 8183f14c44..cf7fbf1984 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/startup/bspstart.c
@@ -1,10 +1,9 @@
/* bspstart.c for bf537Stamp
*
- * This routine starts the application. It includes application,
- * board, and monitor specific initialization and configuration.
- * The generic CPU dependent initialization has been performed
- * before this routine is invoked.
- *
+ * This routine does the bulk of the system initialisation.
+ */
+
+/*
* Copyright (c) 2006 by Atos Automacao Industrial Ltda.
* written by Alain Schaefer <alain.schaefer@easc.ch>
* and Antonio Giovanini <antonio@atos.com.br>
@@ -16,6 +15,7 @@
#include <bsp.h>
+#include <bsp/bootcard.h>
#include <libcpu/bf537.h>
#include <libcpu/ebiuRegs.h>
#include <libcpu/gpioRegs.h>
@@ -79,11 +79,6 @@ void bsp_pretasking_hook(void)
bfin_interrupt_init();
}
-/*
- * bsp_start
- *
- * This routine does the bulk of the BSP initialization.
- */
void bsp_start(void)
{
/* BSP Hardware Initialization*/