summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-07 17:23:11 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:55 -0500
commit527a08bab760a80f89661f37fff0e4eb299cff81 (patch)
tree46ca2988283b626db9d7a691178a46799ecb38aa /c/src/lib/libbsp/m68k/av5282/startup/bspstart.c
parentbfin/eZKit533/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warn... (diff)
downloadrtems-527a08bab760a80f89661f37fff0e4eb299cff81.tar.bz2
m68k/av5282/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/av5282/startup/bspstart.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c b/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c
index 9794ddbdae..e85ea4c53b 100644
--- a/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/av5282/startup/bspstart.c
@@ -1,11 +1,8 @@
/*
- * BSP startup
- *
- * 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.
+ */
+
+/*
* Author:
* David Fiddes, D.J@fiddes.surfaid.org
* http://www.calm.hw.ac.uk/davidf/coldfire/
@@ -19,6 +16,7 @@
*/
#include <bsp.h>
+#include <bsp/bootcard.h>
#include <string.h>
/*
@@ -129,11 +127,6 @@ void _CPU_cache_invalidate_1_data_line(const void *addr)
__asm__ volatile ("cpushl %%bc,(%0)" :: "a" (addr));
}
-/*
- * bsp_start
- *
- * This routine does the bulk of the system initialisation.
- */
void bsp_start( void )
{
/*